In IE 9.0.11 only, when i hit enter in the text box then submit event is firing just fine. If i click the search button, then “submit” event is not firing. The page is submitting to itself at this point. Clear click event is firing normal here.
I have IE 9.0.12 and it is behaving normal.
HTML Form
<form name="frmCollegeReview" method="Post" action="">
<table border="0" cellspacing="0" style="border-collapse: collapse" width="100%"
id="table3">
<tr>
<td width="15%" class="lineitem0">College Key</td>
<td width="85%" class="lineitem0">
<input maxlength="6" name="txtCollegeKey" size="15" class="field" value="">
</td>
</tr>
<tr>
<td width="15%"> </td>
<td width="85%">
<input type="image" src="/pics/btn/btn_search.gif" alt="Search" id="formSubmit">
<a href="#" id="formReset">
<img border="0" src="/pics/btn/btn_clear.gif">
</a>
</td>
</tr>
</table>
</form>
jquery submit event
$("#" + CollegeReview._enum.ClearFormButton).live("click", function () {
$("input[name='" + CollegeReview._enum.CollegeKey + "']").val(0);
return false;
});
$("form[name='" + CollegeReview._enum.SeachForm + "']").live('submit', function () {
CollegeReview.PopulateForReview();
return false;
});
Try with this: