Html "class" attribute for "link_to_remote"


now this should be easy, but for some reason I was not able to generate
a link with a “class” attribute using “link_to_remote”.

I tried several different ways, including the one that worked for
“link_to”, but so far no luck.

I have to admit that I am not 100% sure how to read the rDoc
documentation. If it says:

link_to_remote(name, options = {}, html_options = {}),

doesn’t that mean that the following should work?

link_to_remote(‘update’, {:update => ‘mydiv’, :url => {:action =>
‘myaction’}}, {:class => ‘myclass’})

Thanks for any help!
Ingo W.