search for: url_foraction

Displaying 1 result from an estimated 1 matches for "url_foraction".

2006 Jun 06
1
Getting value of form using Ajax (and problems with Safari)
...into a textarea form. This works in Firefox, but not in Safari. Also, I need the value which is selected. I''ve found an example that gives the parameter to the javascript, like this: <input type="checkbox" name="name" onclick="new Ajax.Request(''<%= url_foraction => ''update_attribute'', :id => obj) %>'', {parameters:''name=''+this.name+''&value=''+this.checked})"/> How do I get the value which is selected when the onchange event occurs using RJS? Thanks, - Jens View: Code...