Is there a way to retrieve the names/values of all global variables on a page?
I would like to write a javascript function to do the following:
- Find all global variables prefixed with 'xxx_' and stick them in an array (for e.g.)
- build a query string using the name value pairs as follows: xxx_glob_var1=value1&xxx_glob_var2=value2 etc
How do I do this?