Bug Tracker

Opened 9 years ago

Last modified 9 years ago

#9347 closed enhancement

$.load don't inherit from $.ajax — at Initial Version

Reported by: adrien.dupuis@… Owned by:
Priority: low Milestone: 1.7
Component: ajax Version: 1.6.1
Keywords: Cc: jaubourg
Blocked by: Blocking:


The $.load() function return this. The $.ajax() request build inside the $.load() can't be accessed for, as example, .abort(). By changing

  • jQuery.ajax({

+ return jQuery.ajax({

  • return this;

$.load could be a true $.ajax shorthand.

Change History (0)

Note: See TracTickets for help on using tickets.