I am trying to start the click event handler using jquery 1.7 by clicking on the anchor tag. This code works fine in firefox, but I cannot display a warning window using the same code in IE 10. Could you tell me how to achieve this functionality in Internet Explorer 10?
$(document).ready(function() { $('.call-link').on('click', function (ev, evData) { alert("hello world"); }); });
It is not called in IE because the element is disabled.
see: Demo
$(document).ready(function() { $('.call-link').click(function (ev, evData) { alert("hello world"); }); });
Try:
$(document).on('click', '.call-link', function (ev, evData) { alert("hello world"); });
Demo : http://jsbin.com/tucu/1/
IE , - . . , .