.live disable double click
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6201242/is-there-a-way-to-force-event-to-fire-only-once-on-given-element-per-element-n">is there a way to force event to fire only once on given element (per element, not whole document) when using live()?</a>  </p>
</blockquote>



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

<pre><code>$('.answerx').live('click', function(){
    comprobar($(this).attr('name') , "\'" + $(this).attr('id') + "\'");
})
</code></pre>

<p>I want to make it so that once the click has been made, the user is unable to click and run the function again as the function running more than once is making my program go crazy.</p>

<p>So is there a way to make it so that after clicking once it disables further clicks on specific element whose id is <code>$(this).attr('id')</code></p>
