FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


[JS] get vars in location.pathname





jasperlevink
Hello folks!

Is my presumption allright that vars in the location are not included in location.pathname?

so if the location is index.html?var=yes
-> location.pathname=index.html
and not location.pathname=index.html?var=yes
?

How can I include the vars?

Grtz.
holadola
Hello.

Use location.href instead.

/hd
Related topics
[ java scripts ] email service
Header("Location: PROBLEM");
secrets of firefox
Why You Should Never Use Flash
SDRAM vs DDRAM
Where are you?? (map your location)
Get page source in javascript
Expand collapse HTML Tag
Making some things vars
Need help fixing some js.. F$500 (long post)
Problem with galary script
Hot to get the location of page with js
special formatting for the link i'm in.
Gradient Creator creation problems
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.