Hi there, I am working on passing a variable between 2 pages. The idea is to have you click on a normal anchor text link and pass over a querystring, from this querystring you'd create a variable and read it on the other page it's linked to.

I did a bit of digging and found the following code, which did not really do anything for me:

HTML Code
Code:
<a href="index_1.htm?color=black" class="black">Black</a>
JavaScript Code in Header
Code:
	<script>
    // Adapted from examples on the Querystring homepage.
		var qs = new Querystring();
		var v1 = qs.get("color");
	</script>
Javascript code in HTML
Code:
<script type="text/javascript">document.write(v1);</script>
I am going to still continue with my digging and see what I can come up with.