僅當僱傭類型爲合同或全職時才啓用txtEmployer
,應全職停用。如何啓用基於某種選擇的文本框
<div>
<select id="SelectEmployment">
<option value="Select Employment">Employment Type</option>
<option value="Full-time">Full-time</option>
<option value="Part-time">Part-time</option>
<option value="Contract">Contract</option>
<option value="Fixed term">Fixed term</option>
</select>
</div>
<div>
<input type="text" id="txtEmployer" value="Employer" class="txtinline water"/>
</div>
你花了多少時間使用Google? – 2013-03-07 15:40:16
文本框應該全部停用或激活? – 2013-03-07 15:44:48