tags:

views:

52

answers:

0

Hi How can i call an ajax function from a image_submit_tag in rails im already doing it on a link_to ,it is working fine with that. The same login i want to implement on image_submit_tag , How can i do tht...can ny one help..??

<%= link_to_remote(comp.name.capitalize.pluralize, :url => {:controller=>'Bytes',:action=>:create}, :update => 'updatediv', :html => { :class => comp.name + "icon" }) %>