Change URL without actually changing?

This is called AJAX.

Ruby on Rails has excellent support for it.

http://api.rubyonrails.org/classes/ActionView/Helpers/PrototypeHelper.html

You want to use window.location. Its not strictly ajax, its just javascript.

here ya go:

http://www.google.com/search?q=window.location+changing+url

- rob

Wouldn’t that trigger a reload of the page? You could have a look at StateManager from the exanimo site, it’s the only AJAX state manager I’ve found to work quite reliably on all browsers (including Safari).

Best regards

Peter De Berdt

No, not if you just modify the hash (aka fragment identifier - the
piece after the '#').

see: http://ajaxpatterns.org/Unique_URLs#Solution

- Rob