How to get Value from Drop Down List (SELECT)?
-
Hello, I am new to java technology. I have a jsp page wich contains a DropDownList (SELECT), two text boxes and a button. What I need to do is, I need to display one textbox (txtName) and hide the 2nd one (txtEmail) when the 1st index of SELECT is selected; and on selected index change if 2nd index is selected, the txtEmail to visible and txtName is to hide. and on Button press it should submit values at another page. Can any body help out.
Regards, Qaiser Nadeem
-
Hello, I am new to java technology. I have a jsp page wich contains a DropDownList (SELECT), two text boxes and a button. What I need to do is, I need to display one textbox (txtName) and hide the 2nd one (txtEmail) when the 1st index of SELECT is selected; and on selected index change if 2nd index is selected, the txtEmail to visible and txtName is to hide. and on Button press it should submit values at another page. Can any body help out.
Regards, Qaiser Nadeem
i'm sure they could if you posted in the java section. there's a link up top next to where it says .NET
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.