T teny_yu Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-12 #2 使用: <select name="sel" size="1"> <option value="a">teny</option> <option value="b">teny2</option> </select>
使用: <select name="sel" size="1"> <option value="a">teny</option> <option value="b">teny2</option> </select>
C csz Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-12 #3 输入框?你说的的是textfield吗? <input ...readonly> <slect ...readonly>
J jsxjd Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-12 #4 <HTML> <HEAD> </HEAD> <BODY> <INPUT TYPE="Text" NAME="" value='AAAAA' disabled></Input> </BODY> </HTML>
<HTML> <HEAD> </HEAD> <BODY> <INPUT TYPE="Text" NAME="" value='AAAAA' disabled></Input> </BODY> </HTML>
J jsxjd Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-12 #5 <HTML> <HEAD> </HEAD> <BODY> <INPUT TYPE="Text" id="MyText" value='AAAAA' disabled></Input> <a href='JavaScript:alert(MyText.disabled=false)'>Disable MyText</a> </BODY> </HTML>
<HTML> <HEAD> </HEAD> <BODY> <INPUT TYPE="Text" id="MyText" value='AAAAA' disabled></Input> <a href='JavaScript:alert(MyText.disabled=false)'>Disable MyText</a> </BODY> </HTML>
T teny_yu Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-12 #7 你想它在什么时候失效?从一开始吗? 这个输入框是做什么用的,要它失效,为什么还用输入框? 输入框不是用来给人输入一些东西的么?你却不想让人输入东西? 请你解说一下动态使其失效。。。
J jsxjd Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-12 #8 <HTML> <HEAD> </HEAD> <BODY> <INPUT TYPE="Text" id="MyText" value='AAAAA' ></Input> <a href='JavaScript:alert(MyText.disabled=true)'>Disable MyText</a> </BODY> </HTML>
<HTML> <HEAD> </HEAD> <BODY> <INPUT TYPE="Text" id="MyText" value='AAAAA' ></Input> <a href='JavaScript:alert(MyText.disabled=true)'>Disable MyText</a> </BODY> </HTML>
T twt_gd Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-13 #9 不是一开始,而是根据不同的条件,如if (x=1) 失效 else 可以输入
Q qwen Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-17 #10 那就看你要用的事件了,如果你的参数是页面开始就导入,那就在onload事件中写, 你要问的应该是捕捉什么事件
L li_cj Unregistered / Unconfirmed GUEST, unregistred user! 2003-04-30 #11 <input type="text" readonly>