Can jQuery be used for a new javascript Window object?
Example:
win = new Window('mywindow','width= 400', 'height=400'); win.getContent().innerHTML = xmlFindNodeContent(XmlHttp.responseXML, "windowHtml"); jQuery(win).ready(function(){ do jQuery stuff on the new window here?? });
Is this possible?
NB: the new Window () function accepts some parameters before it works correctly. Something like that:
window.open ('MyWindow', 'width = 400, height = 200')
Poku source share