- Feb 7, 2001
- 1,637
- 0
- 0
All I want to do is access variables that got passed through the URL in Javascript.
In PHP, all I'd do is refer to it by the name, so: http://www.logosoftwear.com/index.php?variable=YES
<?php
print ($variable);
?>
How can I do that similarly in Javascript? The only tutorial I can find is this: http://www.htmlgoodies.com/beyond/jspass.html which looks way to troublesome.
In PHP, all I'd do is refer to it by the name, so: http://www.logosoftwear.com/index.php?variable=YES
<?php
print ($variable);
?>
How can I do that similarly in Javascript? The only tutorial I can find is this: http://www.htmlgoodies.com/beyond/jspass.html which looks way to troublesome.