Well, hmm...
I can get a nice javascript confirm with the link_to helper like this:
<%= link_to("remove", {:action => "remove_person",
:etc etc},
{:confirm => "Are you sure?"}) %>
But if I try something similar in a submit tag, the javascript does not work:
<%= submit_tag("Remove Person", {:confirm => "Are you
sure?"})%>
Is this function not implemented in the submit tag helper? How can I
get this confirmation dialog generated from the submit tag?
Shelby
