日期:2014-05-16  浏览次数:20449 次

check判断 及radio取值
抱歉之前代码不清晰
JScript code

<form name='form1'onSubmit="change()" id="form1" method="post">
<table width="90%"  border="0" align="center" >

<tr>
    <td width="13%" height="0"   ></td>
    <td width="45%" ></td>
    <td width="13%"></td>
    <td width="29%" ></td>
  </tr>   
<tr>
    <td width="13%" height="0"   ></td>
    <td width="45%" ></td>
    <td width="13%"></td>
    <td width="29%" ></td>
  </tr>   
<tr>
      <td height="10" style="color:#FF0000 " >肺气肿:</td>
    <td height="10" style="color:#FF0000 ">
        <input type="radio" name="6" value="有"  onChange="change()" >有<input type="radio" name="6" value="无" onChange="change()" checked>无<input type="radio" name="6" value="未知"  onChange="change()" >未知</td>
    <td height="10" style="color:#000000 " >慢性支气管炎:</td>
    <td height="10" style="color:#000000 ">
        <input type="radio" name="3" value="有"  onChange="change()" >有<input type="radio" name="3" value="无" onChange="change()" checked>无<input type="radio" name="3" value="未知"  onChange="change()" >未知</td></tr>
<tr>
       <td height="10" style="color:#FF0000 " >哮喘:</td>
       <td height="10" style="color:#FF0000 ">
                <input type="radio" name="4" value="有"  onChange="change()" >有<input type="radio" name="4" value="无" onChange="change()" checked>无<input type="radio" name="4" value="未知"  onChange="change()" >未知</td>
       <td height="10" style="color:#000000 " >鼻窦炎:</td><td height="10" style="color:#000000 ">
                <input type="radio" name="7" value="有"  onChange="change()" >有<input type="radio" name="7" value="无" onChange="change()" checked>无<input type="radio" name="7" value="未知"  onChange="change()" >未知</td></tr>
<tr>
    <td height="10" style="color:#000000 " >过敏性鼻炎:</td>
    <td height="10" style="color:#000000 ">
        <input type="radio" name="8" value="有"  onChange="change()" >有<input type="radio" name="8" value="无" onChange="change()" checked>无<input type="radio" name="8" value="未知"  onChange="change()" >未知</td>
    <td height="10" style="color:#000000 " >鼻息肉:</td>
    <td height="10" style="color:#000000 ">
        <input type="radio" name="9" value="有"  onChange="change()" >有<input type="radio" name="9" value="无" onChange="change()" checked>无<input type="radio" name="9" value="未知"  onChange="change()" >未知</td></tr>

<