hi, both ok and cancel buttons submits the form....is there a way that when the user selects cancel that it doesnt submit the form? thanks!
on 2007-04-22 19:47
on 2007-04-22 22:59
i was missing the return param! <%= submit_tag "Save", :onclick => "return confirm('Are you sure?')" %>