$(document).ready(function () {
$("#MyForm").submit(function () {
alert("Hello");
return true;
});
});
Hi, I have a very simple code above, when I submit the form in IE8 nothing happens, but it works fine in FireFox 8.
I am using jQuery 1.5.1. So is it a problem from old version of jQuery?
I’ve seen this before in IE8 and IE7. Workaround: