Disable an input field if second input field is filled

Viewed 35920

totally a newbie... I just want to know how to dynamically disable an input field when the second input field is filled

eg:

<td><input type="text" name="num-input1" id="dis_rm"  value=""></input></td>
<td><input type="text" name="num-input2" id="dis_per" value="" ></input></td>

pls... any links and hints will do...

7 Answers
Related