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 >>
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?
What is the technical reason for changing the URL?
the technical reason is:
if you are using ajax then the page will not crawled or checked by the google search engine, but if the #value will given in the end of the url then the page will be crawled by google crawler...
read this >>
http://googlewebmastercentral.blogspot.com/2009/10/proposal-for-making-ajax-crawlable.html
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.