Modify ↓
Ticket #1353 (closed bug: worksforme)
$.getJSON optional parameters bug
| Reported by: | pauljamescampbell | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.1.4 |
| Component: | ajax | Version: | 1.1.3 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
The documentation for the getJSON method details an optional parameters object which can be passed before the callback function.
However when I try to pass this optional parameter, the callback function is ignored. In order to pass GET vars I have to directly add them to the query string, which obviously is not a hassle but not as directed.
For reference this bug appeared in Firefox 2.0.0.4 on OS X 10.4.9
Paul
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.

In the test suite, and works for me.