I have this bit of code but it's not doing what I want.
Whenever someone clicks on a mailto link, a popup will display the following message 'This is the message.' So far nothing is happening
$('a[href^=mailto:]').click(function () {
var x=window.confirm('This is the message.');
var val = false;
if (x)
val = true;
else
val = false;
return val;
});