Displaying 1 result from an estimated 1 matches for "remote_check_box".
2005 Oct 31
0
Automatically creating handlers for scriptaculous events
I created a simple Ajax checkbox control that I plan to contribute to 
scriptaculous (people seem to ask now and then), and it occurred to me 
that the really nice way to do it would be to provide the controller 
action as well - the developer could call something like
<%= remote_check_box (''checkbox-id'') %>
and we''d automatically update 
session[:scriptaculous-checkbox-id]="true", or something like that.  The 
same could work for InPlaceEditor.  The way we do it today feels too 
much like scaffolding.
Has anyone considered doing this?  I sus...