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?
 
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work 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 PremrajanTechnical 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
All Courses

From novice to tech pro — start learning today.