DB2Problem
Programmer
Hello ALL
I have this select drop down
<select name="title" class="form" onChange="javascript:addField();">
<option value="Mr">Mr</option>
<option value="Mrs">Mrs</option>
<option value="Others">Others</option>
</select><br>
This is somewhere in my JSP page. On Change of title as Other, I need to bring a textbox right under this
select drop down.
function addField(){
if(MainForm.title.options[MainForm.title.selectedIndex].value == "Others"){
// need to do some code to place the textbox under select drop down
}
How can I place the textbox exactlt at that place. I don't know. Any help will be greatly appreciated
Thanks
I have this select drop down
<select name="title" class="form" onChange="javascript:addField();">
<option value="Mr">Mr</option>
<option value="Mrs">Mrs</option>
<option value="Others">Others</option>
</select><br>
This is somewhere in my JSP page. On Change of title as Other, I need to bring a textbox right under this
select drop down.
function addField(){
if(MainForm.title.options[MainForm.title.selectedIndex].value == "Others"){
// need to do some code to place the textbox under select drop down
}
How can I place the textbox exactlt at that place. I don't know. Any help will be greatly appreciated
Thanks