How to use in jQuery data from window.open
- by Anton
How to use in jQuery data from window.open
w = window.open("http://google.com",
'test_window',
'left=20,top=20,width=500,height=500,toolbar=1,resizable=1');
browser = w.document;
// execute commands in browser
$(browser).ready(function(){
alert($('input', browser).attr('name'));
});
// close browser
…