Open new window after a click event not working in Safari, Chrome
I'm trying to open a new window like so: $('#wrapper').click(function() { window.setTimeout(function() { //alert('hi'); window.open("http://example.com", "ExternalLinks", "resizable=yes, scrollbars=yes, status=yes"); }, 1000); }); This works in Firefox, but not in Chrome or Safari (so far, I've just tested on a Mac). The alert() works in all browsers, so there seems to be something preventing the window.open from executing in Safari/Chrome. Furthermore, if I remove the setTimeout and just call the window.open then it does work in all 3 browsers. It's almost like if the window.open is nested