| Author: Vijaya saradhi 22 Sep 2008 | Member Level: Silver | Rating:  Points: 2 |
you can write a method like
if(Combobox1.selectedItem.Tostring()=="Hi") { Textbox1.visible=true; } else { Textbox1.visible=false; }
|
| Author: Rajesh Bathala 22 Sep 2008 | Member Level: Silver | Rating:  Points: 1 |
Hi,
I want javascript function only. Not Ajax also.I dont want Page Post back
|
| Author: sathish 23 Sep 2008 | Member Level: Silver | Rating:  Points: 3 |
Hi try this
in JS Code
var a=document.getElementbyID("DropDownList1");
if(a.options[a.selectedIndex].value=="HAI") document.form1.txtName.stylee.visibile="Hidden"
Sathish.s Pothanur
|