確認ダイアログconfirmを表示させる。 表示方法 状況によって書き方は変わるが、昔からある書き方は以下の様な感じ。 <input type='submit' value='送信' onclick='return confirm("本当に移動しますか");'/> 複雑な条件分岐がある場合、JavaScript の方は別に書いた方が良い。
Add a description, image, and links to the confirm-dialog topic page so that developers can more easily learn about it.