Resetting jQuery .one event after client side validation
<p>I have the following jquery function </p>

<pre><code>$('#AddItem').one("click", function () {

//client side validation code
//if validation passes make an ajax call. after call returns redirect to another page

$(this).click(function () { return false; });

}
</code></pre>

<p>If validation fails, the function fires only once. Is there a way to re-register or re-bind the function after validation fails?</p>

<p>I added the .one call to prevent double clicks.</p>
