Hola, es posible usar el parámetro :confirm en un submit_tag en vez de
un link_to?
En este ejemplo, o es exclusivo para enlaces nada más?
<%=submit_tag “Eliminar”, {:type=>‘button’,
:onclick=>‘alert(mi_funcion);’}%>
Hola, es posible usar el parámetro :confirm en un submit_tag en vez de
un link_to?
En este ejemplo, o es exclusivo para enlaces nada más?
<%=submit_tag “Eliminar”, {:type=>‘button’,
:onclick=>‘alert(mi_funcion);’}%>
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs