Formatting this JavaScript Line

Posted by dkris on Stack Overflow See other posts from Stack Overflow or by dkris
Published on 2010-06-01T11:13:56Z Indexed on 2010/06/01 11:23 UTC
Read the original article Hit count: 208

Filed under:
|

Hi,

I am trying to format this line of code in my popup window, but i am facing unterminated string literal error.

Can somebody please tell me how best I could format this.

window.setTimeout("winId.document.write('<script src="../js/tiny_mce/tiny_mce.js" type="text/javascript"></script>\n')", 10);

Also point out if this particular line of code would work fine in the popup?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about formatting