I am trying to display a confirm message if the user goes to a .com link. I am trying to do this with seeing a CssClass on the hyperlink and then using jquery to capture that in my site master page. This link is within a grid view edit template, so I am
seeing the class on the item_data_bound. I do see the class on the item when I do F12 dev tools.
It is not working and I am seeing a javascript error:
Unhandled exception at line 63, column 40 in http://www.espn.com/
0x800a1391 - Microsoft JScript runtime error: 'mboxCreate' is undefined
When I do this outside - say on the footer of the master page - it works fine!
Here is my jquery code which is in my site master page:
$(function () {
// Whenever any link is clicked
$('a.externalLinkFunctionalityEnabled').click(function (e) {
...
Go to the complete details ...