Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disable a text box

Status
Not open for further replies.

crmpicco

Programmer
Nov 29, 2004
66
GB
when one of these text boxes is selected i want the other disabled. is this possible?

<tr>
<td align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Cabin&nbsp;&nbsp;</font></td>
<td>
<input type="text" name="cabin" id="cabin" onChange="javascript:this.value=this.value.toUpperCase();">
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">Class&nbsp;</font>
<input type="text" name="class" id="class" onChange="javascript:this.value=this.value.toUpperCase();">
</td>
</tr>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top