Hi,
In remote_function
how can i pass the className of the form element
i have the following code,
<%=link_to(content_tag('span',t('country.name')),'#',
{:title=>t('country.name'),**:class=>"change_list"**,
:onclick=>remote_function(:url => {:action => :change_view},
:with =>"'**change**=**'+ ?????"**)}) %>
so, on onclick, i want to pass the parameter :change
with the value of :class=>"change_list"
thanks,