Click to See Complete Forum and Search --> : just passing querystring value to the url


dotnetanimal
12-19-2002, 03:41 PM
<script type="text/javascript">
var pagetitle = document.title;
//document.write(pagetitle);
</script>

I have this script to grab the title.

I then wnat to pass it along to the next page in the url and it does not need to be encoded. I tried just adding the variable to the onclick event but that did not work. http://somewhere.com/drew.aspx?pagetitle is this the wrong format.

when i go to the next page I try this and no value seems to be passed.