5 ms·
you can also do this with a regular expression. here's the blog post i wrote on it a year ago. i use one function to grab get variables from either window.loc
by curio 16y ago
you can also do this with a regular expression. here's the blog post i wrote on it a year ago. i use one function to grab get variables from either window.location or from a script tag. 5 lines of code.
http://www.onlineaspect.com/2009/06/10/reading-get-variables-with-javascript/ http://www.onlineaspect.com/2009/06/10/reading-get-variables...