PDA

View Full Version : How to pass multiple parameters in same type to ajax get



hwang0
10 Apr 2014, 9:45 AM
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?

skirtle
10 Apr 2014, 12:22 PM
Isn't it just this?


extraParams: {
a: [1, 2, 3]
}

That should be expanded out on the request.