Prevent second click when data is still in loading
<p>I have a link in my page, when user click on this link I will load some data with <code>$.getJSON</code> and if the server was busy or the internet speed connection was low, this response will take about 10 seconds, so may be user click again on this link, how can I change my code to prevent the second click ? I mean is, how can I define if user click for second time on link, do not anything ?</p>

<p>this is click event :</p>

<pre><code>$('#showResult').click(function () {
     $.getJSON (url, data, function updateForm() {

        .... MY CODE ....

     });
});
</code></pre>

<p>Sorry for my bad English :-(</p>
