I want to make this textbox enabled when I choose a specific value from a select drop-down, and disabled when I select any other option.
This is my html:
<select name="status" id ="combo">
<option value="_">Please choose..</option>
<option value="Pending">Pending</option>
<option value="Process">Process</option>
<option value="Delivered" >Delivered</option>
</select>
<tr valign="baseline">
<td nowrap="nowrap" align="right" class="postage" >Postage:</td>
<input type="text" name="postage" id="textbox" >
<select>as a sibling of a<tr>and you can't have an<input>as a child of a<tr>