How do I open a new browser window on page load w/ jQuery?
Thanks!
You can do this in the jQuery document.ready event (shortcut'ed below) by calling the window.open() method
$(function(){
window.open(url, windowName[, windowFeatures]);
});
windowFeatures:
http://www.javascript-coder.com/window-popup/javascript-window-open.phtml
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With