Which JavaScript code segment should you use? 02/10/2017 – by Mod_GuideK 0 You are developing a customer web form that includes the following HTML. Information from the web form is submitted to a web service. The web service returns the following JSON object. { “Confirmation”: “1234”, “FirstName”: “John” } You need to display the Confirmation number from the JSON response in the txtValue label field. Which JavaScript code segment should you use? A. $(“#txtValue”).val = (JSONObject.Confirmation); B. $(“#txtValue”).val (JSONObject.Confirmation); C. $(“#txtValue”).text = (JSONObject.Confirmation); D. $(“#txtValue”).text (JSONObject.Confirmation); SHOW ANSWERSCorrect Answer: D Explanation/Reference: Reference: http://api.jquery.com/text/