Displaying 1 result from an estimated 1 matches for "reparray".
Did you mean:
reg_array
2006 Jun 28
2
Assign CSS class to Link to Remote
I''m trying to get link_to_remote to assign a CSS class to the link it
generates. My code is as follows:
<%=
link_to_remote "Show Full Info",
:update => "fullcontact" + reparray.last.to_s,
:url => "/cm/full_contact/" + reparray.last.to_s,
:classname => "contactlink"
%>
Which produces this HTML:
<a href="#" onclick="new Ajax.Updater(''fullcontact7'',
''/cm/full_contact/7'', {asynchronous:true,...