I'm still having this issue as discribed above. I'm having trouble using the "getHTML" method with in jQuery...
If you run this..
- $(document).ready(function() {
-
- });
-
- function showContent() {
-
- var HTMLBodyEnglish = document.getElementById('<%= txtEditorEnglish.ClientID%>');
-
- var content = HTMLBodyEnglish.getHTML();
-
- alert(content);
-
- }
it works; however if you try to access it in side of the doc.ready tag you get an error
- $(document).ready(function() {
- var HTMLBodyEnglish = document.getElementById('<%= txtEditorEnglish.ClientID%>');
- var content = HTMLBodyEnglish.getHTML();
- alert(content);
- });
The error is:
Line: 29
Error: Object doesn't support this property or method
Any help would be great
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.