用JAVASCRIPT来控制其属性。
frmsetup.settle.disabled = true;

解决方案 »

  1.   

    </HEAD>
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    function handler1(current_radio)
    {
       if(current_radio.checked)
       {
          document.forms[0].my_text.style.visibility = "visible"
      document.forms[0].my_group[1].checked = false
       }
    }function handler2(current_radio)
    {
       if(current_radio.checked)
       {
          document.forms[0].my_text.style.visibility = "hidden"
      document.forms[0].my_group[0].checked = false
       }
    }
    //-->
    </SCRIPT>
    <BODY>
    <form>
    <INPUT TYPE="radio" NAME="my_group" onClick="handler1(this)">show
    <br>
    <INPUT TYPE="radio" NAME="my_group" onClick="handler2(this)">hide
    <br>
    <TEXTAREA NAME="my_text" ROWS="10" COLS="50" style="visibility:hidden"></TEXTAREA>
    </form>
    </BODY>
    </HTML>
      

  2.   

    http://expert.csdn.net/Expert/topic/1812/1812210.xml?temp=.3226892
      

  3.   

    <form>  
     <input  type=  "radio"  name=  "r1"  onclick=  "this.form.file1.disabled  =  this.checked;"  language=  "javascript">disable  <input  type=  "radio"  name=  "r1"  onclick=  "this.form.file1.disabled  =  !this.checked;" language="javascript">enable  
     <input  type="text"  name=  "file1">  
     </form>
      

  4.   

    <input type = radio  name = a onclick = "if (this.checked) t.disabled = true">
    <input type = radio  name = a onclick = "if (this.checked) t.disabled = false">
    <input type = text id = t disabled>