Thanks, Rupak, but I was hoping to be able to accomplish this without a
plugin. What I'm thinking of doing is storing the XMLHttpRequest object as a
local variable early on, like in the beforeSend callback.
var xmlHttpRequest = null;
$.ajax({
/* ... */
beforeSend: function(request)
{
Why to re-invent the wheel?
- Original Message -
From: Hector Virgen
To: jquery-en@googlegroups.com
Sent: Wednesday, August 26, 2009 9:43 AM
Subject: [jQuery] Re: How to cancel an AJAX request?
Thanks, Rupak, but I was hoping to be able to accomplish this without a
plugin
, Aug 26, 2009 at 9:16 AM, Cesar Sanz the.email.tr...@gmail.comwrote:
Why to re-invent the wheel?
- Original Message -
*From:* Hector Virgen djvir...@gmail.com
*To:* jquery-en@googlegroups.com
*Sent:* Wednesday, August 26, 2009 9:43 AM
*Subject:* [jQuery] Re: How to cancel an AJAX
2009/8/26 Hector Virgen djvir...@gmail.com:
Thanks, Rupak, but I was hoping to be able to accomplish this without a
plugin. What I'm thinking of doing is storing the XMLHttpRequest object as a
local variable early on, like in the beforeSend callback.
No need to make it so complex; from
Hi Hector,
you have to use abort function.
go through this link http://www.protofunc.com/scripts/jquery/ajaxManager/
Thanks
Rupak
On Wed, Aug 26, 2009 at 2:25 AM, Hector Virgen djvir...@gmail.com wrote:
Hello,
Is there a way to stop or cancel an ajax request on demand, similar to
pressing
5 matches
Mail list logo