javascript how to make the dropdown value to reset to intiall value(checking the check box)
<p>i have  check box in one  "tr". and  another   dropdown control  in another  "tr"
intially dropdown control will be  invisiable intially . </p>

<p>but once the user   checks the  check box. the  dropdown control should be  visiable and  he can select the value.  but again  the user  unchecks  the check box  the dropdown  should be  set  to  default value   that is "--selec--"</p>

<p>"UPDATE  MODE" intailly 
checkbox.Test =  dt.cloumn["state"].tostring();</p>

<pre><code>if(checkbox.Test!= "")
{
checkbox.checked=true;
//then  value  dropdown  value  should  be  shown like"india"
}
else
{
checkbox.checked="false"
//then  value  dropdown  value  should   be  default "--select"
}
</code></pre>

<p>in insert  mode  checkbox  willbe   unchecked
  in update  mode  if  checkbox  in checked then the value  of  dropdown  should be  shown"india"
  in update  mode  if  checkbox  in unchecked then the value  of  dropdown  should be  shown default"-select-"</p>
