HOME
>
DHTML サンプル集
> 基本編
基本編
チェックボックスで選択されているか調べる
<html>
<body>
<input id="chk1" type="checkbox" onclick="alert(document.all.chk1.
checked
)">チェック
</body>
</html>
サンプル
スポンサードリンク
(C)
Web Developer's Room
All rights reserved.