[thelist] passing a JS variable to another page? Can I?

jeff jeff at members.evolt.org
Mon May 14 12:09:46 CDT 2001


scott,

:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: AtdtXav
:
: I imagine there has to be a way to pull a variable
: from the link/address bar in javascript, right?
: so that something like "A href='webpage.html?santa'"
: would be the link, and webpage.html could declare a
: variable that pulls in that item?
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

check the source of this page:

http://members.evolt.org/jeff/code/ammend_links.html

in the top section of it is a bit of code (8 lines to be exact) that will
parse the url for name/value pairs.

good luck,

.jeff

name://jeff.howden
game://web.development
http://www.evolt.org/
mailto:jeff at members.evolt.org





More information about the thelist mailing list