Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing the URL without reloading the page

I would like to know if it's possible to change the contents of the URL in the browser without reloading the page?

I use jQuery and Ajax to load new parts of my page. When I choose "product one", the direct link would be mysite.com/product1 and for "product two" would be mysite.com/product2, but I don't want to reload the site to these pages.

like image 564
Paul Peelen Avatar asked Aug 01 '10 08:08

Paul Peelen


1 Answers

its now possible with HTML_5..

chack this link... http://www.spoiledmilk.dk/blog/?p=1922

also facebook and google using this tric beside Hash(#) attribute

like image 55
Pavel Avatar answered Oct 24 '22 13:10

Pavel