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答案發布非常簡短的代碼...! –