Topic: link_to_remote and class

Hi,
   How can I use class with link_to_remote.

   code which I use.
<%= link_to_remote("Department # Editor" ,
                          :update => 'content_forms',
                          :url => {:controller=>"department",:action =>:department_editor}) %>

Re: link_to_remote and class

<%= link_to_remote("Department # Editor", {:update => 'content_forms', :url => {:controller=>"department",:action =>:department_editor}}, {:class => "css_class"}) %>

Re: link_to_remote and class

thanks tobias for such a nice information.

Last edited by mahendra (2007-06-20 08:27:13)