i want to get #value into the url to without refreshing the page ??

i tried window.location.hash to get the #value but it return blank..

the url is index.php?page=contact-us#email

plz help to resolve the problem >>

Can you explain your reasoning for needing to do this?

There may be a better way if you explain.

Can you explain your reasoning for needing to do this?

There may be a better way if you explain.

thanks for your reply, i have three option on the page (contact-us.php,
1. Contact by phone,
2. Contact by email,
3. Contact by Address

i want to give response to user for the particular option, i will do it with the jquery's hide() and show() effects but i also want to change the url, without refreshing the page.

hopefully you understand my issue,

What is the technical reason for changing the URL?