Which JavaScript code segment shows the correct way to set the value of a field that is formatted as a single line of text?

Which JavaScript code segment shows the correct way to set the value of a field that is
formatted as a single line of text?

Which JavaScript code segment shows the correct way to set the value of a field that is
formatted as a single line of text?

A.
Xrm.Page.gctAttribute(“new_string”).setValue(1234);

B.
Xrm.Page.getAttribute(Mnew_string”).setValue() = ,,1234″;

C.
Xrm.Page.getAttribute(“new_string”).setValue(“1234”);

D.
Xrm.Page.getAttribute(“new_string”).DataValue = “1234”;



Leave a Reply 0

Your email address will not be published. Required fields are marked *