Hi all,
I have some text displayed in a textarea, drawn from a database using php, and put into the textarea using JS (a dynamic form scenario):
On this form, I want the user to be able to change the value in the textarea field. It works perfectly in IE. In NN7.1, when the user clicks on the textarea field in question, the cursor starts at the beginning, and when the user starts typing, the characters are simply overwriting what's already there. Also, the user cannot highlight the text, nor move the cursor. The only option is to overwrite the existing value.
I attempted to populate the text area field using:
however, the data wasn't appearing. I read somewhere that there is no 'value' for textarea, just innerHTML. Is this true? Can someone suggest a workaround?
Thank you!
![[cheers] [cheers] [cheers]](/data/assets/smilies/cheers.gif)
Cheers!
Laura
I have some text displayed in a textarea, drawn from a database using php, and put into the textarea using JS (a dynamic form scenario):
Code:
document.form.edit_place_address.innerHTML = value;
I attempted to populate the text area field using:
Code:
document.form.edit_place_address.value = value;
Thank you!
![[cheers] [cheers] [cheers]](/data/assets/smilies/cheers.gif)
Cheers!
Laura