[Rails] link_to_remote question

Sterling Anderson
Thu, 17 Aug 2006 20:14:08 -0000

I''m using link_to_remote to call a method that deletes an item

<%= link_to_remote " [delete]", :url => { :controller =>
''user_admin'',
                                            :action =>
''employee_type_delete'',
                                            :id => employee_type.id
                                             } %>

I''d like to have a confirm dialog popup like the plain old link_to
call allows. Is there any way to do this with link_to_remote?


--
Sterling Anderson
sterling.anderson [at] gmail.com