Bug Tracker

Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#463 closed enhancement (fixed)

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

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

Description

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?

thanks!

Change History (3)

comment:1 Changed 14 years ago by joern

Resolution: fixed
Status: newclosed

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

comment:2 Changed 14 years ago by anonymous

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?

comment:3 Changed 14 years ago by joern

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.

Note: See TracTickets for help on using tickets.