Click to See Complete Forum and Search --> : ? character in var


alirezaok
12-07-2003, 10:27 AM
i want set this var for a link of myscript:
dqm__url1_0_0 = "hotedu.php?page=3"
but when i run myscript link shows me: hotedu.php
in other mean ?page=3 has been delete when i run myscrpit because i use of ? character.
? actions in end of var and when i delete ? character link shows me: hotedu.phppage=3
i should use this character in my var for create link.
what do i do?

zachzach
12-07-2003, 10:36 AM
works fine for me.
if a page doesn't exist and you navigate to it with a querystring, the querystring gets cut off
examaple:
<script>
document.location="mypagedoesn'texist.html?page=3"
</script>
when it goes to mypagedoesn'texist.html?page=3, the location bar shows:
"mypagedoesn'texist.html"