#463 closed enhancement (fixed)
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: |
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 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 16 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
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 16 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
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.
This is included in the latest revision of jQuery and will be part of the 1.0.4 release.