Chicano
08-21-2002, 11:45 PM
Hi. I am making a simple form which sends an e-mail back to me... and you can select a Subject from a drop down menu, things like:
Tip/Suggestion
Personal Message
Complaint
and then there will be a
"Other" option as well... but when you click on Other, a textbox is to appear next to the Select Box, where you can type your own Subject.
Now, I have been trying to do stuff like naming the textbox with an ID of "MyText" and giving it a style="display:none" then on the Other option doing
<option onSelect="MyText.style.display=''">Other</option>
(and also tried OnClick) yet none of this works.
Any tips?
Thanks a lot! =)
Tip/Suggestion
Personal Message
Complaint
and then there will be a
"Other" option as well... but when you click on Other, a textbox is to appear next to the Select Box, where you can type your own Subject.
Now, I have been trying to do stuff like naming the textbox with an ID of "MyText" and giving it a style="display:none" then on the Other option doing
<option onSelect="MyText.style.display=''">Other</option>
(and also tried OnClick) yet none of this works.
Any tips?
Thanks a lot! =)