Im trying to close a child window with javascript and in firefox everything works fine but in chrome the window doesnt close
here is what im using
$(document).ready(function() {
if (window.opener && !window.opener.closed)
window.opener.location = "http://www.website.com"
window.close();
});
I tried a suggestion on google, but to no avail.
Anyone having a similar issue or know of a work-around?