jQuery: How to stop the change() event from firing from the blur() handler?
<p>I have the following scenario:</p>

<pre><code>$("#element").blur(validate).change(onElementChange);
</code></pre>

<p>The validate() function should prevent the change event from firing, if the value of the #element is not valid. 
I cannot add the validate to change, because it needs to validate on blur too. 
If add the validate() to both events, the alert with the validation error will pop up twice.</p>

<p>So, the my question is, can I stop the change event from firing from the handler of the blur event?</p>

<p>Also if you have a different solution (without using plugins), i would like to hear it.</p>

<p>Thanks</p>
