How to add a class in document.write() method in javascript
<p>I am adding a class in document.write but it is not showing, below is my code. </p>

<pre><code>new_window = open("","hoverwindow","width=600,height=300,left=10,top=10");
new_window.document.open();
new_window.document.write("&lt;li&gt;Dowload &lt;a href=www.anylink.com class='help'&gt;&lt;/a&gt;&lt;/li&gt;");
</code></pre>

<p>"help" is defined in my css file. Is the above syntax is correct for applying the class.</p>
