problem with window.close and chrome
- by Patrick
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…