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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disable dropdown until textbox is completed

Status
Not open for further replies.

pendle666

Technical User
Jan 30, 2003
295
GB
Hello

I have two textboxes and next to each is a dropdown for Exact Match or Like.

What I want to do, preferably with CSS is to have the dropdowns disabled until either textbox has something in it.

Can this be done?

regards
Pendle
 
Not with html alone. You'll need Javascript.

Using the onchange event of the text box, and then altering the status of the drop down accordingly




----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top