Displaying 1 result from an estimated 1 matches for "checkbox_remote".
2006 May 13
5
Ajax Checkbox using Rails
...ss the "this.checked" from the combo to the server. As far
as I understand, the url should be written in the javascript as
"/item/5/"+this.checked, but since the url is build only of options I
can''t generate this.
1. How can this be done?
2. Why isn''t there checkbox_remote just like there is link_to_remote. I
would expect this also for all controls (radio buttons, edit boxes,
etc.) so maybe it is hiding there somewhere?
3. Any workaround using other methods or assistance how write my own
checkbox_remote without duplicating too much existing rails code? (as I
need...