window.confirm();とonClick="hoge(); return false;"
https://www.tagindex.com/javascript/window/confirm.html
windowオブジェクトのconfirm()メソッド
http://www.htmq.com/js/window_confirm.shtml
ウィンドウ名.confirm() …… [OK]と[キャンセル]ボタンを持つ確認ダイアログを表示する
jQueryの主要メソッド一覧
https://javascript.programmer-reference.com/jquery-list-method/