Back button for AJAX in rails

Greetings all,

I am wondering are there any thing like link_to_remote(:update, :url) in
rails which preserves the navigation feature (back & forward button as
well as bookmarks) of the browser? Thanks very much!

Cheers,
Difei

Nothing is built into Rails.

Just design your site to work with the Back button. A good way of doing
this
is to make the site without Ajax, and then add it with the UJS plugin.

Jason

The original poster was looking for an ajax history plugin (a plugin
that automatically maintains an ajax history). Don’t think one exists
however.

On 19 Jun 2007, at 14:40, Jason R. wrote:

Greetings all,

I am wondering are there any thing like link_to_remote
(:update, :url) in
rails which preserves the navigation feature (back & forward button as
well as bookmarks) of the browser? Thanks very much!

Best regards

Peter De Berdt

Jason R. wrote:

Nothing is built into Rails.

Just design your site to work with the Back button. A good way of doing
this
is to make the site without Ajax, and then add it with the UJS plugin.

Jason

Thanks for the suggestion. I’ll have a try.

On Jun 19, 6:07 am, Difei [email protected] wrote:


Posted viahttp://www.ruby-forum.com/.

there’s been threads on rails-spinoffs on back button, bookmarking,
undo:
http://groups.google.com/group/rubyonrails-spinoffs/browse_frm/thread/1e136c24c674aa2b/#

Also look at “Pragmatic Ajax” book and this Dojo page
http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book0