-
Query String
Lets assume I have a web page like this (generic address) someplace.com/index.htm?name=dave&In=Jane
How do I get the values for NAME and In?
I am new to JavaScript and I am used to Visual Basic but I dont want to do VBScript on my web site b/c most people have is disabled. Does anyone have a code snippet for this problem?
ALSO: Please reply if you know of any good (JS) web sites, magizines or books.
-
name=document.URL.split("?name=")[1].split("&")[0];
in=document.URL.split("&In=")[1];