HOME
>
DHTML サンプル集
> 基本編
基本編
テキストボックスを読み取り専用に設定する
<html>
<body>
<input type="checkbox" onclick="document.all.txt1.
readOnly
=true">
<input id="txt1" type="text" value="abcde">
</body>
</html>
サンプル
スポンサードリンク
(C)
Web Developer's Room
All rights reserved.