How do I get the value of a text area?
I am a novice when it comes to CF. Our company uses CF16. I am copying existing code from one our other websites, however nobody is around that worked on it so there is nobody to ask.
The code displays a hidden <td> holder called "help_field_1new". This is used for entering new help information. When a button is pressed to add a new record the program updates the innerHTML to a textarea field (code = (document.getElementById(help_field_1new).innerHTML = "<textarea name='help_field_1_textnew cols='70' rows='3' onKeyUp='validateLen(event,this,2000);' onPaste='return validateLen(event,this,2000); return validEntry(event);' onDrop='return validateLen(event,this,2000); return validEntry(event);'>"+document.getElementById(help_field_1new).innerHTML+"</textarea>")
The problem is that I can't figure out how to retrieve the actual value that is entered....
I've tried document.getElementById, but all I get is the actual HTML.
Advice?
Thanks.
