I'm using jQuery to do an auto save draft of a CuteEditor window and I'm trying to access the HTML in the CuteEditor and I'm getting an error.
Here is my code:
var
HTMLBodyEnglish = document.getElementById('<%= txtEditorEnglish.ClientID%>');
//var test = HTMLBodyEnglish.innerHTML();
// retrieving the content of Cute Editor as HTML
var content = HTMLBodyEnglish.getHTML();
alert(content);
My error is:
Microsoft JScript runtime error: Object doesn't support this property or method
Any suggestions?
Thanks
Lee
Lee Harris
Programmer & Database Developer
HLB System Solutions
50 Malcolm Road
Guelph, Ontario N1K 1A9
Phone: 519-822-3450 Ext. 239
Fax: 519-822-8861
http://www.hlbsolutions.com
Disclaimer: The contents of this post are provided "as is". There is not warranty on code found in this post.