[Urgent]: CuteEditor JS setHTML() behaving differently with IE & Chrome

  •  01-20-2012, 12:27 AM

    [Urgent]: CuteEditor JS setHTML() behaving differently with IE & Chrome

    Hello,
    I am having problem while setting html to cute editor. I am using cute editor(v 6.6) in jquery overlay popup. The popup will open when user hit either Add or Edit buttons.
    1. In case of Add I am setting cute editor value with setHTML(" ") , at first attempt this will raise an error as "Uncaught TypeError: Object #<HTMLTableElement> has no method 'SetHTML'". 
    2. In case of edit I am setting values from db, but getting the same error as point 1. Interesting thing is that when I will open javascript console (tools - javascript console) in chrome suddenly I see that the text is appeared in the editor (wired).
     
    Note: both above points working fine in IE 
    Please reply ASAP. 
View Complete Thread