I want open a window and then does something after it finishes loading, is there an easy way to do this?
my current code is something like:
cur_window = window.open( 'http://www.google.com' )
// does something when cur_window finishes loading
thanks
The only way to do this is if you write code in the page which is opened in the popup to tell the parent page, the
openerobject in js, that it has finished loading.In your example, as your are loading Google, this is not possible.