Jan 12

Written by: Soul Solutions
Friday, 12 January 2007 

BronwenWeeGo.jpgCouple of handy javascript properties i can never remember off the top of my head to get url and query string data:

To get the anchor position of url:
this.location.hash

To get the query string of the url:
this.location.searchsubstring(1);

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel 
Copyright © 2002-2009 Soul Solutions Pty Ltd. | Login