Hi did you try to do it is parallel ?

$("#someId").click(function(){
    sendAjaxrequest();
    return false;
});


On Mar 6, 1:42 am, AsymF <[EMAIL PROTECTED]> wrote:
> If a link has a click event I can stop that from firing by just
> returning false so that the browser stays on the current page. How
> would I do this when the click event is supposed to send a synchronous
> AJAX call using $.ajax()?
>
> I only want the click event to return false and stop the link from
> being followed if the AJAX request experiences an error.

Reply via email to