Displaying 1 result from an estimated 1 matches for "edit_appt_frequency_#".
2009 Feb 17
1
How to show div with radio button onclick
...ked"
value="this_appt">
Because observe field does not work well with radio buttons. I have
tried adding an onclick with the div id:
<input type="radio" name="edit_option" checked="checked"
value="this_appt" onclick =
"$(''edit_appt_frequency_#{@appt_to_edit.id}'').show()">
But the #{@appt_to_edit.id} does not get rendered and I have had a lot
trouble figuring out how to do this. I think I need to use some sort
of inline RJS? Im not sure, does anyone have any ideas?
--~--~---------~--~----~------------~-------~--~----~...