|
|
 |
RE: FN-FORUM: Re: Redirect / parameters in HTML
date posted 6th January 2004 13:58
>>What I am probably asking is - how do you process variables in straight
HTML?
You'll have to use JavaScript but there's no point in using a meta refresh
tag when you can just do location.replace.
var query = window.location.search.substring(1);
//split the query string into name=value units
var vars = query.split("&");
//loop the key/value pairs list and extract into variables
for (var i=0;i does tagging the variables on the end of the redirect URL not work?
>
I don't know what the parameters will be.
What I am probably asking is - how do you process variables in straight
HTML?
Don't think I've ever done it.
> or [meta stuff]?foo=&bar=
Can't use php - sorry for daft example provided (although made sense for
what I am trying to do).
--
** Get all the Freelance Work you Can Handle *
The Web Design Business Kit will show you proven tactics
and strategies for marketing your business, winning bids,
managing projects and pricing your work. Free Shipping Worldwide.
Read more & get free chapters at: http://www.sitepoint.com/launch/b7c91e/3/4
To advertise here: http://www.freelancers.net/advertising.html
|
 |
|