Jump to content


Photo

How to stop / abort an AJAX-Request


  • Please log in to reply
3 replies to this topic

#1 Re-JeeP

Re-JeeP
  • Members
  • PipPip
  • Member
  • 21 posts

Posted 20 July 2006 - 06:09 PM

Hi!

Does anybody know how to stop / abort an AJAX-Request?

// Johan

#2 cmgmyr

cmgmyr
  • Members
  • PipPipPip
  • Advanced Member
  • 1,278 posts
  • LocationUSA

Posted 20 July 2006 - 08:44 PM

When your request is processing you can add some html with a button in it linked to myRequest.transport.abort(); that should kick it out of what it's doing

-Chris


#3 Re-JeeP

Re-JeeP
  • Members
  • PipPip
  • Member
  • 21 posts

Posted 21 July 2006 - 05:58 AM

Thanks alot!

#4 cmgmyr

cmgmyr
  • Members
  • PipPipPip
  • Advanced Member
  • 1,278 posts
  • LocationUSA

Posted 21 July 2006 - 12:32 PM

No problem, I hope it worked out for you.

-Chris




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users