FORM problem...(also posted in ASP).
Hey chaps,
I have a textarea on a web page. I place a button and onclick I call a javascript function to get the value of the textarea, the javascript works. I place a form object around the textarea and the javascript can no longer see the textarea raising "Error: Textareax Undefined"
Any ideas ????? This looks simplistic but I've boiled the whole problem down to the simplest form to try and work out why this is happening...
Cheers.
Chubby..
Re: FORM problem...(also posted in ASP).
Can you post your code here?
Were you using the reference form? E.g. document.textboxname.value or, were you using the DOM method?
Cheers,
RyanJ
Re: FORM problem...(also posted in ASP).
Quote:
Originally Posted by sciguyryan
Can you post your code here?
Were you using the reference form? E.g. document.textboxname.value or, were you using the DOM method?
Cheers,
RyanJ
Thanks for the reply Ryan.
I was using the reference form for this. It referenced the object with Intellisense fine but running the code threw the error. It definitely has something to do with the tables in the page, some of the content is Dynamic. The code is huge and I do have a workaround (placing a form at the top of the page with loads of hidden variables in it that I post from)...
Thanks again for the reply..
Chubby..