I am trying to get a div to show when a radio button is clicked but
the problem is that the div is dynamically named. I am using the
normal html for a radio button:
Because observe field does not work well with radio buttons. I have
tried adding an onclick with the div id:
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?