Re:Simple Way to Extract GET Params from a JavaScript Script...
by curio on Saturday June 12, 2010 @01:30PM
(#1426261)
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...