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
  w.close();
In this example I want to open new pop-up window, load Google page and get information about loaded page element (name of input filed).
I try to do this, but not found solution. Please, help me.