Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#12362 closed bug (notabug)

documentation: jQuery.ajax() and JSONP

Reported by: [email protected] Owned by:
Priority: high Milestone: None
Component: ajax Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:


Related: #8510

The above bug has been closed but the documentation is now misleading again for jQuery 1.8.0 (critically, 1.5+).

The documentation reads:

error This handler is not called for cross-domain script and JSONP requests.

timeout In Firefox 3.0+ only, script and JSONP requests cannot be cancelled by a timeout; the script will run even if it arrives after the timeout period.

Data types When data is retrieved from remote servers (which is only possible using the script or jsonp data types), the error callbacks and global events will never be fired.

Examples: http://jsfiddle.net/pte5g/14/

Change History (4)

comment:1 Changed 10 years ago by mikesherov

Component: unfiledajax
Keywords: Needsdocs added
Priority: undecidedhigh

Can we just move this to the api.jquery.com github tracker?

comment:2 Changed 10 years ago by mikesherov

Resolution: notabug
Status: newclosed

Thanks for contributing! I've moved this over to the http://github.com/jquery/api.jquery.com issues tracker. Please follow its progress there: https://github.com/jquery/api.jquery.com/issues/64

comment:3 Changed 10 years ago by mikesherov

Keywords: Needsdocs removed

comment:4 Changed 10 years ago by dmethvin

#13149 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.