what im trying to do is send a number to a page that the user opens im trying to do it in java what i have so far is:


page 1

<a href = "http://wherenewpageis.html?send=1">test send</a>

page http://wherenewpageis.html

<script language = "javascript">
document.writeln(send);
</script>


im not shure if im even doing it remotly right im just kindof guessing that the ?send=1 makes a varble on the page its loading called send and sets it to 1 but it seems thats not the case or if it is im doing something else wrong please tell me how to do it or what im doing wrong.

thanx