Rather than population said DOM object with an external page such as HTML CFM or PHP, what if I simply want to send text?
I’ve tried:
$(‘#myDOMObject’).val(‘some text’);
No errors, but the object value doesn’t update either.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What element is ‘myDOMObject’? If it’s a text input, your code should be working fine. If it’s something else, use
$('#myDOMObject').text('some text');