Skip to main content

Bug Tracker

Side navigation

#463 closed enhancement (fixed)

Opened December 02, 2006 07:54PM UTC

Closed December 11, 2006 09:04AM UTC

Last modified June 20, 2007 02:24AM UTC

need "return xml;" in $.ajax for abort() request

Reported by: Owned by:
Priority: major Milestone:
Component: ajax Version:
Keywords: ajax, abort, xml, cancel Cc:
Blocked by: Blocking:

hi there,

can you please add the line "return xml;" to the $.ajax function, so I can cancel a running request? or is there any other possibility, to use the abort() method of an ajax request?


Attachments (0)
Change History (3)

Changed December 03, 2006 02:03PM UTC by joern comment:1

resolution: → fixed
status: newclosed

This is included in the latest revision of jQuery and will be part of the 1.0.4 release.

Changed December 03, 2006 07:31PM UTC by anonymous comment:2

resolution: fixed
status: closedreopened

where can i get this latest revision of jquery?

and are there any unsolved problems within the fact, that the timeout-event which possibly tries to run an method which doesn't exists anymore?

Changed December 11, 2006 09:04AM UTC by joern comment:3

resolution: → fixed
status: reopenedclosed

You can avoid problems with the timeout event by simply not using timeouts when aborting requests manually. By default, the timeout is set to 0 and isn't used.