JavaScriptサンプル - ボタンをクリックするとalert(警告ダイアログ)を表示する
<script type="text/javascript">
function display_alert(){
alert("nobuneko");
}
</script>
<input type="button" value="実行" onclick="display_alert();" />
[実行]ボタンをクリックするとalert(警告ダイアログ)を表示する。
[実行]ボタンをクリックするとalert(警告ダイアログ)を表示する。