Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
確認関数の結果が false の場合のデフォルト アクションを防止する必要があります
$(document).ready(function () { $(".deleteJob").on("click", function (e) { if (!confirm("Are you Sure want to delete!")) { e.preventDefault(); } }); });