am在单选按钮上单击时具有以下代码是如果不是必须禁用该文本框,则必须启用该文本框。请有人帮助我。感谢如何使用jquery启用文本区域或输入type =“text”
<div class="label_left">
<label>Does the tourism office operate on a biennial budget? : (Y/N)</label>
</div>
<div class="text_right">
<br>
<br>
<input type="radio" id="high" name="high" />
<label>Y</label>
<input type="radio" id="high" name="high" />
<label>N</label>
<br />
<br />
<br />
</div>
<div class="label_left">
<label>If YES,please indicate when the current biennial budget began: (mm/dd/yy)</label>
</div>
<div class="text_right">
<br>
<br>
<input type="text" name="date_biennial_budget" id="date_biennial_budget" value="" size="30" />
<br />
<br />
<br />
</div>
[如何禁用jQuery的输入?(HTTP的可能重复:// stackoverflow.com/questions/1414365/how-to-disable-an-input-with -jquery) – aBhijit
检查y答案发布非常简短的代码...! –