I'm experiencing problems when I use the javascript DOM. I'm trying to grab the current value entered in a textarea, and what I get is the initial value loaded into the textarea
so if the textarea is loaded onload with "TEST" and I change it to "TEST DATA", when I use document.getElementByID('textareahere').value it returns with the value "TEST"..... not right
any ideas would be appreciated. Thanks!
so if the textarea is loaded onload with "TEST" and I change it to "TEST DATA", when I use document.getElementByID('textareahere').value it returns with the value "TEST"..... not right
any ideas would be appreciated. Thanks!
Re: Document Object Issue
FCKeditor isn't a textarea, so if you try to read the contents of the initial textarea, then you'll get that: the contents of the textarea, not the contents of FCKeditor.
Read the wiki about the API and look at the samples.