F
Foehammer
I've created a WYSIWYG HTML editor. I have an ImageButton whose
onClick event is supposed to set the value of a hidden form field
called txtHTML to the HTML content of an IFRAME called editor.
Here's the code that is supposed to set the value:
document.EditorForm.HTMLEditor_txtHTML.value =
editor.document.body.innerHTML;
I'm getting this error.
Microsoft JScript runtime error: 'document.EditorForm.txtHTML' is null
or not an object
Anybody have any ideas on this one?
Will
onClick event is supposed to set the value of a hidden form field
called txtHTML to the HTML content of an IFRAME called editor.
Here's the code that is supposed to set the value:
document.EditorForm.HTMLEditor_txtHTML.value =
editor.document.body.innerHTML;
I'm getting this error.
Microsoft JScript runtime error: 'document.EditorForm.txtHTML' is null
or not an object
Anybody have any ideas on this one?
Will