Pramit Posted August 28, 2008 Share Posted August 28, 2008 Hi! In AJAX, after I call a new page and then refresh the page, original file is restored. I need a way to dynamically change the url when a new file is called. I tried using #. But I cant solve the problem. Please help. Quote Link to comment Share on other sites More sharing options...
haku Posted August 28, 2008 Share Posted August 28, 2008 It's not easy by any means. Here is some info on how to do it: http://ajaxpatterns.org/Unique_URLs Quote Link to comment Share on other sites More sharing options...
Pramit Posted August 28, 2008 Author Share Posted August 28, 2008 Thanks for your suggestion. I tried using window.location.hash, but again it is having the same problem Quote Link to comment Share on other sites More sharing options...
Ken2k7 Posted August 28, 2008 Share Posted August 28, 2008 I don't understand the problem. Quote Link to comment Share on other sites More sharing options...
Pramit Posted August 29, 2008 Author Share Posted August 29, 2008 I need to change the url as in trulia.com. It uses AJAX, but still changes the url. I dont need URL rewriting though Quote Link to comment Share on other sites More sharing options...
Ken2k7 Posted August 29, 2008 Share Posted August 29, 2008 I need to change the url as in trulia.com. It uses AJAX, but still changes the url. I dont need URL rewriting though I still don't understand. Can you provide an example? Quote Link to comment Share on other sites More sharing options...
haku Posted August 29, 2008 Share Posted August 29, 2008 Everything you need to do this is in that document I linked to. As I said, it's not easy. But that is how it is done. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.