function fillTextBox() { var dropdown = c.selectedIndex;alert("fdgdfg"); var selvalue = c[dropdown].value; if(selvalue=="True") { v.value=1; } else v.value=0; }
<script type="text/javascript" language="javascript"> var c= document.getElementById('<%= ddlCompanyChit.ClientID %>'); var v=document.getElementById('<%= txtTcktNum.ClientID %>') </script>
ddlCompanyChit.Attributes.Add("OnChange", "fillTextBox()");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)