Open honeypc opened 11 years ago
+1 to this
Go look at the History API (e.g. history.pushState
). You'll have to do it on your own. jquery-address (AFAIK) is meant to be used with a hash only (#).
This should answer your question:
$('a').address(function() { return $(this).attr('href').replace(/^#/, ''); });
I had the same issue and solved it by using the $.address.state(value). For example $.address.state('product/list').
From the documentation $.address.state(value) Returns: jQuery Address Sets the base path of the website that is utilized in HTML5 state management.
ex: http://localhost:15840/product/list#/?page=2 I want my url display same: http://localhost:15840/product/list/?page=2 Thanks