Link_to_remote with embedded image_tag

Hi-

I want to generate a link with an image embedded between the and </
a> so when the user clicks on the image the ajax call fires. I can’t
find any documentation on how to do this with link_to_remote. Is this
possible? I’d like to generate something like:

Thanks,
Dino

<%= link_to_remote(image_tag(“image.jpg”), :funky_stuff => “goes here”)
%>

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs