By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,377 Members | 1,659 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,377 IT Pros & Developers. It's quick & easy.

Getting URL Variables

P: n/a
if the url was thispage.htm?day=4

how does one grab the day value?

Thanks in advance
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"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

P: n/a
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.