Prevent second click when data is still in loading
===

I have a link in my page, when user click on this link I will load some data with `$.getJSON` 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 ?

this is click event :

    $('#showResult').click(function () {
         $.getJSON (url, data, function updateForm() {
    
            .... MY CODE ....
    
         });
    });



Sorry for my bad English :-(