Sometimes we need to pass multiple values for one parameter in ajax, that is pass an array as parameter, in ext js we can acheive this as,
Here param2 has an array of values….
Posted by Creators on August 1, 2011 in Ext JS
Tags: array parameter in extjs ajax, ext js ajax request, extjs ajax pass array as parameter, extjs ajax request, extjs pass multiple values as parameter, pass array as parameter, pass multiple values for a parameter in extjs ajax
October 22, 2011 at 11:58 am
For Ext.Ajax.request(Object o) to correctly generate a GET or POST request containing an unserializable array, I had to use:
“params2” instead of params2
Note the quotes and square brackets.
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
You are commenting using your Google+ account. ( Log Out / Change )
Connecting to %s
Notify me of new comments via email.
Create a free website or blog at WordPress.com.
Entries (RSS) and Comments (RSS)