Bug Tracker

Modify

Ticket #463 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 6 years ago by joern

  • Status changed from new to closed
  • Resolution set to fixed

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

comment:2 Changed 6 years ago by anonymous

  • Status changed from closed to reopened
  • Resolution fixed deleted

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 6 years ago by joern

  • Status changed from reopened to closed
  • Resolution set to fixed

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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.