Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Javascript only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Javascript
Getting URL Variables
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Smoke
#1
Getting URL Variables
Jul 20 '05, 11:52 AM
if the url was thispage.htm?da y=4
how does one grab the day value?
Thanks in advance
Michael Winter
#2
Jul 20 '05, 11:52 AM
Re: Getting URL Variables
"Smoke" wrote on 14/11/2003:
[color=blue]
> if the url was thispage.htm?da y=4
>
> how does one grab the day value?[/color]
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.u k (remove [no-spam] to reply)
Comment
Post
Cancel
Thomas 'PointedEars' Lahn
#3
Jul 20 '05, 11:57 AM
Re: Getting URL Variables
Smoke wrote:
[color=blue]
> if the url was thispage.htm?da y=4
>
> how does one grab the day value?[/color]
http://pointedears.de.vu/scripts/search.htm
PointedEars
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment