469,898 Members | 1,734 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,898 developers. It's quick & easy.

Getting URL Variables

if the url was thispage.htm?day=4

how does one grab the day value?

Thanks in advance
Jul 20 '05 #1
2 5484
"Smoke" wrote on 14/11/2003:
if the url was thispage.htm?day=4

how does one grab the day value?


window.location.search will return: ?day=4

You can then use String methods to parse the string

Mike

--
Michael Winter
M.Winter@[no-spam]blueyonder.co.uk (remove [no-spam] to reply)
Jul 20 '05 #2
Smoke wrote:
if the url was thispage.htm?day=4

how does one grab the day value?


http://pointedears.de.vu/scripts/search.htm
PointedEars
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by John Hunter | last post: by
5 posts views Thread by Nathan Sokalski | last post: by
9 posts views Thread by Randy | last post: by
2 posts views Thread by maxkumar | last post: by
2 posts views Thread by ronchese | last post: by
8 posts views Thread by Samant.Trupti | last post: by
4 posts views Thread by icarus | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.