I want to default to target=_blank
if window.open()
fails.
Eg. The user clicks a link that invokes window.open()
. However, the popup is blocked by a popup blocker. In this scenario, I want a new window to open instead. Is this possible?
P.S. I have jQuery loaded.