For example if I have extjs ComboBox, and I have URL like http://localhost:8080?param=value1,value2,value3
How can I access this << param >> value in ExtJS, so that I can covert it into something like Ext.data.Array or ….
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
i have this (based on the code @Lloyd found above):
so i can access any querystring variable globally. e.g. when
location.search = '?search=hello+world&foo=bar%3Dbar'then
the_query_string.search = 'hello world'andthe_query_string.foo = 'bar=bar'