Reputation: 643
In jquery mobile I m using
$('#somebutton').click(function () {
$.mobile.changePage("#searchResult", "slide");
});
to change to another page. This #searchResult is getting added in the URL I don't want that to happen .... So how do I remove that from URL.
Thanks in advance.
Upvotes: 3
Views: 1710
Reputation: 4532
try this:
$('#somebutton').click(function () {
$.mobile.changePage("#searchResult", {changeHash:false});
});
from the JQM documentation
Upvotes: 4