Disabling a text box/list box after a selectio has been made.
From: Fawke101 (guy_at_ANTIbradflack.SPAMcom)
Date: 03/22/04
- Next message: Mikael: "Re: I would like to display...."
- Previous message: G: "Carrying form values without cookies or sessions."
- Next in thread: Ray at <%=sLocation%> [MVP]: "Re: Disabling a text box/list box after a selectio has been made."
- Reply: Ray at <%=sLocation%> [MVP]: "Re: Disabling a text box/list box after a selectio has been made."
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 22 Mar 2004 09:57:51 -0000
Hi there,
I have a .asp page that has a text box and a list box.
The user enters criteria into ONE of the boxes.
What i would like is that when the user makes a selection from the list box
(sql populated) the text box is disabled, and when a user enters a character
into the text box, the list box is disabled (not including spaces)
This is a bit cosmetic, but what is the best way of doing this? Some client
side code presumably, Javascript?
I am not too hot with JS so some examples or sample code would be great
Thanks
-- Thanks in advance Fawke Please remove ANTI and SPAM from my email address before emailing me. www.bradflack.com
- Next message: Mikael: "Re: I would like to display...."
- Previous message: G: "Carrying form values without cookies or sessions."
- Next in thread: Ray at <%=sLocation%> [MVP]: "Re: Disabling a text box/list box after a selectio has been made."
- Reply: Ray at <%=sLocation%> [MVP]: "Re: Disabling a text box/list box after a selectio has been made."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|