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
$(
If previously you open some other window by window.open()
window.open()
This don't work:
window.open(...) window.open('', '_self', ''); window.close();
But work:
window.open(...); setTimeout(function(){ window.open('', '_self', ''); window.close(); }, 100);