false 不等于 'false'  false 是bool值, 不需要加引号<form name="form1" method="post" action="">
  <input name="textfield" type="text" disabled>
</form>
<input name="" type="button" onClick="document.form1.textfield.disabled=false">

解决方案 »

  1.   

    <form name="form1" method="post" action="">
      <input name="textfield" type="text" disabled="true" >
    </form>
    <input name="" type="button" value="aaa" onClick="document.form1.textfield.disabled = false;">
      

  2.   

    晕,怎么把字符串赋给boolean值对象了,应该是这样的吧:
    onClick="this.document.form1.textfield.disabled=false";
      

  3.   

    false不同于'false'
    就像"0"不同于0
      

  4.   

    <form name="form1" method="post" action="">
      <input name="textfield" type="text" disabled="true" >
    </form>
    <input name="" type="button" onClick="this.document.form1.textfield.disabled=false">不行,我是ie5
      

  5.   

    可以试一下用别的方法。把text设为readonly,
    把text的bgcolor设为灰色。