iyeru42 Posted March 18, 2007 Share Posted March 18, 2007 Just like in PHP, (I got it from here.) var $_GET = {};vars_area = location.search.substring(1);if(vars_area.length > 2){ get_sets = query_str.split("&"); for(i = 0, num_gets = get_sets.length; i < num_gets; i++) { parts = get_sets[$i].split("="); $_GET[unescape(parts[0])] = unescape(parts[1]); }} Link to comment Share on other sites More sharing options...
KoviRobi Posted June 11, 2007 Share Posted June 11, 2007 Dou you want to use get in js?Because if yes then use this link Link to comment Share on other sites More sharing options...
iyeru42 Posted July 25, 2007 Author Share Posted July 25, 2007 No, I was just posting some code for people to use if needed. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now