I have a web site with this element:
<a id="ProPayHyperLink" href="javascript:$ProPay.playIntro('ProPay');" target="_blank">ProPay Payment Center</a>
In Chrome, it successfully runs the $ProPay.playIntro script. However, when I run the site in FireFox or IE, I get a new blank tab. Using debugger, I can see that it never gets to the javascript code.
I am running IE 11 and Firefox 30.0
What am I doing wrong?
UPDATE
I use target="_blank" because the javascript href is temporary and only for specific situations, and because it didn't cause issues in Chrome. I can always add and remove it as needed though.
javascript URI Schemeis unofficial but common usedURI scheme. So browsers can support it differently.