Accessible Ajax on Rails

5,853 views

Published on

Presented in RailsConf Europe 2008

Published in: Lifestyle
0 Comments
6 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
5,853
On SlideShare
0
From Embeds
0
Number of Embeds
1,071
Actions
Shares
0
Downloads
86
Comments
0
Likes
6
Embeds 0
No embeds

No notes for slide

Accessible Ajax on Rails

  1. Accessible Ajax on Rails Jarkko Laine with Geoffrey Grosenbach
  2. r.resources :categories do |cat| cat.resources :products cat.resources :companies cat.resources :subcategories do |sub| sub.resources :products sub.resources :companies end end
  3. // new Form.Element.EventObserver(‘undone_box_1’, function(element, value) { new Ajax.Request(‘/items/1’, {asynchronous:true, evalScripts:true, method:‘put’, parameters:value + ‘&authenticity_token=’ + encodeURIComponent(‘8d829cfcccdf4d2b494891ef47cc95893faa361e’)})}) //

×