Bug Tracker

Ticket #5383 (closed bug: fixed)

Opened 6 years ago

Last modified 5 years ago

if jsonp not crossdomain, the complete handler will trigger twice

Reported by: asfman Owned by:
Priority: high Milestone: 1.4.3
Component: ajax Version: 1.4.2
Keywords: ajax complete jsonp Cc: asfman@…
Blocking: Blocked by:


the first trigger in onreadystatechange the second trigger in window[jsonp]

it can be solved the same as success handler: if ( !jsonp )


if ( !jsonp )


Change History

comment:1 Changed 6 years ago by dmethvin

See test case in duplicate #4810.

comment:2 Changed 5 years ago by jitter

  • Status changed from new to closed
  • Priority changed from minor to high
  • Version changed from 1.3.2 to 1.4.2
  • Milestone changed from 1.3.2 to 1.4.3
  • Keywords jsonp added
  • Resolution set to fixed

This was fixed in jQuery 1.4.3

 test case

Note: See TracTickets for help on using tickets.