Javascript Address bar

Hi can any one know if it possible to change url in address bar of browser. I just made website on jquery so i just want to when page change i want change address bar.
LVL 1
umaximAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
leakim971Connect With a Mentor PluritechnicianCommented:
you can't change the domain address and path to the page displayed
you can use paragraph (mean #) and fake parameters to change end of the url only
0
 
Gurvinder Pal SinghCommented:
<< Hi can any one know if it possible to change url in address bar of browser>>
Not possible with javascript. Also if you change the fake parameters (as suggested by leakim971) it will refresh the page to go that paragraph.

but why do you want to change the address bar by the way?
0
 
umaximAuthor Commented:
because my client want jquery website but at the same time he want if people want to get some link like on contact page it was in address bar. So people can easy get link on page.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
Gurvinder Pal SinghCommented:
i would suggest that you show a help/contact us link in the main menu (if you have) and show a modal popup or ligthbox with the information (if you do not want to show it in next page)

0
 
Shinesh PremrajanEngineering ManagerCommented:
Better provide an "Add Book Mark page" Under which you can define the contactus page.

Hope this helps
0
 
leakim971PluritechnicianCommented:
Thanks for the points!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.