PDA

View Full Version : Get the vars in query string the right way??



alietss
30 Aug 2007, 1:17 PM
Thanks for your great work on this library
i've been messing up with extjs trying to migrate my apps, right now I'm a newbie, I would appreciate if somebody can tell me the right way of get query string vars in extjs, I mean
my page is call at
http://.../mypage.html?var1=do&var2=doit

I need to use var1 and var2 in my Ext.onReady, my questions is??
How to ue them?? the right way into the ext code???
Many thank's

gnosis
30 Aug 2007, 1:25 PM
Take a look at the docs for Ext.urlDecode()

http://extjs.com/deploy/ext/docs/output/Ext.html#urlDecode