Just wondering if Google Chrome is going to support window.focus()
at some point. When I mean support, I mean have it work. The call to it doesn\'t fail, it jus
The only solution that currently works in Chrome is this code inside new window:
$(".closeBtn").click( function(e)
{
window.open("",window.opener.name);
window.close();
});
Unfortunately the solution only works under two conditions:
window.opener
has to have it's name set on document load (window.name="WhateverName";
)window.open()
is called on user click