モーダル上の<button>から下のフォームをサブミットした。 コードは晒しかねるけれど、Firefoxだけ.submit()が効かなかった ...
確認ダイアログconfirmを表示させる。 表示方法 状況によって書き方は変わるが、昔からある書き方は以下の様な感じ。 <input type='submit' value='送信' onclick='return confirm("本当に移動しますか");'/> 複雑な条件分岐がある場合、JavaScript の方は別に書いた方が良い。
JavaScript plug-in that can disable a from for a specific amount of time after a submit is attempted. Great for preventing users from double clicking on the submit button and submitting the form twice ...