Modify ↓
Ticket #12226 (closed bug: invalid)
concurrent jsonp ajax requests with the same jsonpCallback value fail with an undefined callback
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | ajax | Version: | 1.8.0 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
With an error message: TypeError: 'undefined' is not a function (evaluating 'callback({"count": "3"})')
jsfiddle here: http://jsfiddle.net/Wn4HH/3/
Additional calls beyond the first appear to overwrite the global callback function.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

You're specifying a the name of a callback handler without actually creating it.
From docs - jsonpCallback:
Example: http://jsfiddle.net/Wn4HH/4/