Dear folk ,

I have a Link and it makes ajax call , so the problem is ,whenever
somebody clicks tons of time inn the Link it crashes and the AJax it
will not work , so I solved this Problem with using of the Boolean
variable and make it True and then the event is trigered cahnge it to
false so it makes it work , but I was wondering if I can Prevent it
with the JQuery event Object .
this is the Sample

var status=ture;
$("a").click(function(){
  status=false;
  $.ajax({
  ..
  ..
  success: function(){
    status=true;

   }
  });

I'm sick and tired of doing this . I want to git rid of these Statuses


});



Thanks
Pedram

Reply via email to