This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes how to update url on ajax call Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to update url on ajax call " Watch "how to update url on ajax call " New topic

how to update url on ajax call

sanguine sinha

Joined: Jul 10, 2013
Posts: 1
I am calling a page using ajax , but my page url does not changes. How to change page URL still not refreshing page ?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63208

The whole point of Ajax is to make requests in the background and not change the whole page or its URL. If that's not what you want, don't use Ajax.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
well if you are loading new pages, you might as well refresh the page. But if you want a single page app. look into
Have you checked out Aspose?
subject: how to update url on ajax call
It's not a secret anymore!