Can this be done and what is the correct syntax?
js function call
-----------------------
<%= radio_button_tag 'save',1, checked = true, :onclick => 'hide_div()
' %>
remote_function
-----------------------
<%= radio_button_tag 'save',1, checked = true, :onclick
=>remote_function(:update => "@mod",
:url => { :action => :unsave, :id => @mod}) %>
Tried
------------
<%= radio_button_tag 'save',1, checked = true, :onclick =>
'hide_div();remote_function(:update => "@mod",
:url => { :action => :unsave, :id => @mod}) ' %>
Doesn't work, neither functions are called
Thanks for you help - K