Skip to main content

Bug Tracker

Side navigation

#5383 closed bug (fixed)

Opened October 15, 2009 02:50AM UTC

Closed November 19, 2010 09:56PM UTC

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

the first trigger in onreadystatechange

the second trigger in window[jsonp]

it can be solved the same as success handler:

if ( !jsonp )


if ( !jsonp )


Attachments (0)
Change History (2)

Changed December 10, 2009 04:06AM UTC by dmethvin comment:1

See test case in duplicate #4810.

Changed November 19, 2010 09:56PM UTC by jitter comment:2

keywords: ajax completeajax complete jsonp
priority: minorhigh
resolution: → fixed
status: newclosed

This was fixed in jQuery 1.4.3

test case