elementの使い方
警告を表示する
$("button").click(function() { alert("ボタンをクリックしました!"); }); <button>警告を表示する</button>