jQuery form submit not working in IE8
<p>When I try to submit my form using enter button in IE7,IE9 or in FF everything is working fine. But in IE8 form submission not working.
I am using jQuery validation and form will submit after checking all validations.</p>

<p>Here is my code:  </p>

<pre><code>&lt;!-- language: lang-js --&gt;
 jQuery.fn.validated = function(callback){
        jQuery(this).each(function(){
           if (this.tagName == "FORM") {
            jQuery(this).submit(function(){
                if (ValidationErrors[jQuery(this).attr("id")].length == 0) 
                    callback();
                return false;
            });
        }
    });
};

 &lt;form name="frmbrand" id="frmbrand" method='post'&gt;
        &lt;table width="100%"&gt;
        &lt;tr&gt;
                &lt;td width="30%" valign="top"&gt;Brand Name : &lt;/td&gt;
                &lt;td width="70%" valign="top"&gt;&lt;input type="text" id="brandname" name="brandname"&gt;&lt;span class="error"&gt;*&lt;/span&gt;&lt;/td&gt;
            &lt;/tr&gt;

            &lt;tr&gt;
                &lt;td valign="top"&gt;Order : &lt;/td&gt;
                &lt;td valign="top"&gt;&lt;input type="text" id="rank1" name="rank1"&gt;&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td colspan="2"&gt;
                    &lt;div align="center"&gt;
                    &lt;input type="submit" value="Save" id="btnsave1"  name="btnsave1" style="background:#ccc"&gt;
                    &lt;input type="button" value="Cancel" id="btncancel1" name="btncancel1" style="background:#ccc" &gt;&lt;/div&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
        &lt;/table&gt;
    &lt;/form&gt;

&lt;!-- language: lang-js --&gt;
 jQuery("#frmbrand").validated(function(){})
</code></pre>
