rash44
یک شنبه 16 اسفند 1388, 11:04 صبح
سلام
سلام
توی این فرم می خوام زمانی که کاربر یکی از گزینه ها رو انتخاب کرد مابقی گزینه ها و فیلدها Disable باشه
لطفا راهنمائی کنید
ممنون
<table border="0" width="70%">
<tr>
<td>
<p align="right" dir="rtl">
<font face="Tahoma" style="font-size: 9pt" color="#333333">
نمایش همه امتحانات بصورت</font>
<select size="1" name="view" dir="rtl" class="in">
<option selected value="صعودی">صعودی</option>
<option value="نزولی">نزولی</option>
</select></td>
<td align="right" width="24">
<input type="radio" value="1" name="type" class="in" checked></td>
</tr>
<tr>
<td align="right" dir="rtl">
<font style="font-size: 9pt" face="Tahoma" color="#333333">
نمایش امتحانات درس</font>
<select size="1" name="dars" dir="rtl" class="in">
<option value="ریاضی">ریاضی</option>
<option value="زبان">زبان</option>
<option value="فیزیک">فیزیک</option>
</select></td>
<td align="right" width="24">
<input type="radio" value="2" name="type" class="in"></td>
</tr>
<tr>
<td align="right" dir="rtl">
<font style="font-size: 9pt" face="Tahoma" color="#333333">
نمایش امتحانات کلاس </font>
<select size="1" name="clas" dir="rtl" class="in">
<option selected value="اول">اول</option>
<option value="دوم">دوم</option>
<option value="سوم">سوم</option>
</select></td>
<td align="right" width="24">
<input type="radio" value="3" name="type" class="in"></td>
</tr>
<tr>
<td align="right" dir="rtl">
<font style="font-size: 9pt" face="Tahoma" color="#333333">
نمایش امتحانات برگزار شده بین تاریخ </font>
<input type="text" name="az" size="10" class="in" dir="ltr" maxlength="10" value="<?php echo $date; ?>"><font style="font-size: 9pt" face="Tahoma" color="#333333">
و تاریخ </font>
<input type="text" name="ta" size="10" class="in" dir="ltr" maxlength="10" value="<?php echo $date; ?>"> </td>
<td align="right" width="24">
<input type="radio" value="4" name="type" class="in"></td>
</tr>
</table>
سلام
توی این فرم می خوام زمانی که کاربر یکی از گزینه ها رو انتخاب کرد مابقی گزینه ها و فیلدها Disable باشه
لطفا راهنمائی کنید
ممنون
<table border="0" width="70%">
<tr>
<td>
<p align="right" dir="rtl">
<font face="Tahoma" style="font-size: 9pt" color="#333333">
نمایش همه امتحانات بصورت</font>
<select size="1" name="view" dir="rtl" class="in">
<option selected value="صعودی">صعودی</option>
<option value="نزولی">نزولی</option>
</select></td>
<td align="right" width="24">
<input type="radio" value="1" name="type" class="in" checked></td>
</tr>
<tr>
<td align="right" dir="rtl">
<font style="font-size: 9pt" face="Tahoma" color="#333333">
نمایش امتحانات درس</font>
<select size="1" name="dars" dir="rtl" class="in">
<option value="ریاضی">ریاضی</option>
<option value="زبان">زبان</option>
<option value="فیزیک">فیزیک</option>
</select></td>
<td align="right" width="24">
<input type="radio" value="2" name="type" class="in"></td>
</tr>
<tr>
<td align="right" dir="rtl">
<font style="font-size: 9pt" face="Tahoma" color="#333333">
نمایش امتحانات کلاس </font>
<select size="1" name="clas" dir="rtl" class="in">
<option selected value="اول">اول</option>
<option value="دوم">دوم</option>
<option value="سوم">سوم</option>
</select></td>
<td align="right" width="24">
<input type="radio" value="3" name="type" class="in"></td>
</tr>
<tr>
<td align="right" dir="rtl">
<font style="font-size: 9pt" face="Tahoma" color="#333333">
نمایش امتحانات برگزار شده بین تاریخ </font>
<input type="text" name="az" size="10" class="in" dir="ltr" maxlength="10" value="<?php echo $date; ?>"><font style="font-size: 9pt" face="Tahoma" color="#333333">
و تاریخ </font>
<input type="text" name="ta" size="10" class="in" dir="ltr" maxlength="10" value="<?php echo $date; ?>"> </td>
<td align="right" width="24">
<input type="radio" value="4" name="type" class="in"></td>
</tr>
</table>