homepage Welcome to WebmasterWorld Guest from 54.226.192.202
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Access vars after the # character
Seregwethrin

5+ Year Member



 
Msg#: 3734656 posted 8:49 pm on Aug 29, 2008 (gmt 0)

Firstly, sorry i have no idea to search words.

I want to access vars after # character like;

profile.php?id=10#page=friends

or

profile.php?id=10#friends

How can i access and use them with javascript?

 

Arno_Adams

5+ Year Member



 
Msg#: 3734656 posted 12:03 pm on Aug 30, 2008 (gmt 0)

Try location.hash

HTH, Tom

Seregwethrin

5+ Year Member



 
Msg#: 3734656 posted 3:57 pm on Aug 30, 2008 (gmt 0)

Yes, that is what i'm looking for. Thank's Tom.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved