Jquery prevent double click
<p>I have a button as such:</p>

<pre><code>    &lt;input type="submit" id="submit" value="Save" /&gt;
</code></pre>

<p>Within Jquery I am using the following but it still allows for doubleclicks:</p>

<pre><code>    &lt;script type="text/javascript"&gt;

     $(document).ready(function () {

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

<p>Any idea on how I can prevent doubleclick?</p>
