I am adding a class in document.write but it is not showing, below is my code.
new_window = open("","hoverwindow","width=600,height=300,left=10,top=10");
new_window.document.open();
new_window.document.write("<li>Dowload <a href=www.anylink.com class='help'></a></li>");
"help" is defined in my css file. Is the above syntax is correct for applying the class.