Bug Tracker

Modify

Ticket #4920 (closed enhancement: duplicate)

Opened 4 years ago

Last modified 14 months ago

allow using optional data arg to $.getJSON with jsonp callback

Reported by: mmb Owned by:
Priority: minor Milestone: 1.5
Component: ajax Version: 1.3.2
Keywords: ajaxrewrite Cc:
Blocking: Blocked by:

Description

Using the optional data argument to $.getJSON to pass query parameters as an associative array will not work with a jsonp callback because the =? will be encoded to =%3F.

Mailing list discussion at  http://groups.google.com/group/jquery-dev/browse_thread/thread/dc8e56c38c8417d8

Attachments

jquery_array_arg_jsonp.patch Download (515 bytes) - added by mmb 4 years ago.
patch to allow use of data arg to $.getJSON with jsonp callback

Change History

Changed 4 years ago by mmb

patch to allow use of data arg to $.getJSON with jsonp callback

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to open
  • Milestone changed from 1.4 to 1.5

comment:2 Changed 2 years ago by rwaldron

  • Keywords ajaxrewrite added

comment:3 Changed 2 years ago by jaubourg

  • Status changed from open to closed
  • Resolution set to duplicate

comment:4 Changed 2 years ago by jaubourg

Duplicate of #5812.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.