I have a list of images on one of my pages, and I would like for the act of double-clicking on any of them to do a remote request to an action. In this case, I''d like to pop up a redbox that is a dialog about the item I clicked on. I found some example code like this: <%= image_tag "image.jpg", :class => "image", :ondblclick => "window.location.href = \"#{url_for(:controller => ''foo'', :action => ''bar'')}\";" %> But this will forward the window to the new page instead of making an AJAX request. Any ideas? Aubrey --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---