Results 1 to 2 of 2

Thread: How to pass multiple parameters in same type to ajax get

  1. #1
    Sencha Premium Member
    Join Date
    Jan 2013
    Posts
    7

    Default How to pass multiple parameters in same type to ajax get

    I want do ajax get in url like: ?a=1&a=2&a=3 not ?a=[1,2,3]
    but the extraParams is an dict, I can not do {a:1,a:2,a:3}
    any idea?

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,791
    Answers
    585

    Default

    Isn't it just this?

    Code:
    extraParams: {
       a: [1, 2, 3]
    }
    That should be expanded out on the request.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •