Bug Tracker

Modify

Ticket #12101 (closed bug: notabug)

Opened 10 months ago

Last modified 9 months ago

ajaxStart working for .load(), but not for .ajax()

Reported by: ShawmutSteve@… Owned by:
Priority: low Milestone: None
Component: ajax Version: 1.7.2
Keywords: Cc:
Blocking: Blocked by:

Description

 http://jsfiddle.net/SXkck/40/

Click 'Trigger' - ajaxStart() is not fired.

Uncomment the .load() line, and Run. When you click the Trigger text, ajaxStart() will fire.

Change History

comment:1 Changed 10 months ago by dmethvin

  • Cc jaubourg added
  • Status changed from new to open

Confirmed. Seems to have been broken since 1.5?

Last edited 10 months ago by dmethvin (previous) (diff)

comment:2 Changed 10 months ago by jaubourg

The sample request is a jsonp request, ie a script request. Global events are not triggered for those as is stated (not that clearly sadly) in the Advanced Options section of the ajax docs. That's because the requests are not guaranteed to complete.

comment:3 Changed 9 months ago by mikesherov

  • Component changed from unfiled to ajax

comment:4 Changed 9 months ago by mikesherov

  • Cc jaubourg removed
  • Priority changed from undecided to low
  • Status changed from open to closed
  • Resolution set to notabug

As this is documented and intended behavior, closing as "not a bug".

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.