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);
Answer:D
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);