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 Chriss Miller 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
Joined
Nov 29, 2004
Messages
66
Location
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>
 
yes try the javascript forum216 there will be hundreds of threads covering it.



Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top