テキストボックスを読み取り専用に設定する

サンプルソース

<input type="checkbox" onclick="document.all.txt1.readOnly=true">
<input id="txt1" type="text" value="abcde">


サンプル

関連する内容






Copyright (C) JavaScript@Workshop All rights reserved.