Hi everyone.. I want to know how to show or hide a text filed based on the value selected in a Drop down List. Say for example i have created a DropDownList which has numbers 1,2,3 using the <html:select> tag &<htmlptionsCollection> tag. Now if i need to display 1 textfield if the user has selected 1 from dropdownlist, 2 textfields if user has selected 2 from the list.
Can someone please help me by providing a sample code.I need it very badly.
Thanks in Advance For your help.
[BSouther: Removed Urgent!!!] from subject line.] [ January 25, 2008: Message edited by: Ben Souther ]
Originally posted by preethi venkatarangan: Hi ...I need it very badly.
We all do.
preethi, Welcome to Javaranch!
In an effort to help you get the most from our forums, we've compiled a list of tips for asking questions here. You can find the list in our FAQ section here. In particular please see: UseAMeaningfulSubjectLine
Please, also look at EaseUp to find out why adding "Urgent" to your posts or subject line can actually slow down or halt responses to your question altogether.
Again, welcome to JavaRanch and good luck with your question. -Ben