Ken W. wrote:
View file has a js function “confirm_result()” in section:
The section has
Works just fine in IE7 and FireFox3.
But not in Chrome 1 or Safari 3. In the latter two the confirm box
appears, then a new blank page without the “You selected…” text. Js
otherwise working fine
Has anyone else encountered this? Bug in Rails? Chrome? Safari?
Is this written in RoR? If it is the form helper has an :onsubmit
would be willing to bet that it would work then. I have had issues with
A quick search led me to this site which shows how to use the :onsubmit