I really dont have a clue how to start explaining this but ill try after i give you the code i want to work, see if you can understand me:
<script>
function goto_link($game, $page)
{
var game = (game);
var page = (page);
document.submit();
}
</script>
<a href='http://www.webdeveloper.com/forum/archive/index.php/javascript:goto_link("warcraft3", "news")'>Link to the next form</a>
I want to uhh... click the link, and by clicking the link send the values of the variables i sent to check.html
So i want to send the variables "game" and "page" to a page called check.html so i can treat them as if they were sent in a form.
i dont want to have to write a form for each link(about 20-30 links) on my menu, so i really do need this, so i can make the page a small as i can. Im doing this so the browser doesn't cache my pages, so you cant view them by "Working Offiline". I HAVE tried meta tags using cache-control but they dont work, PLEASE help me....
PS: I can use PHP if you want to give me a script in PHP that stops you viewing pages "Offline"...
Thanks...
<script>
function goto_link($game, $page)
{
var game = (game);
var page = (page);
document.submit();
}
</script>
<a href='http://www.webdeveloper.com/forum/archive/index.php/javascript:goto_link("warcraft3", "news")'>Link to the next form</a>
I want to uhh... click the link, and by clicking the link send the values of the variables i sent to check.html
So i want to send the variables "game" and "page" to a page called check.html so i can treat them as if they were sent in a form.
i dont want to have to write a form for each link(about 20-30 links) on my menu, so i really do need this, so i can make the page a small as i can. Im doing this so the browser doesn't cache my pages, so you cant view them by "Working Offiline". I HAVE tried meta tags using cache-control but they dont work, PLEASE help me....
PS: I can use PHP if you want to give me a script in PHP that stops you viewing pages "Offline"...
Thanks...