Using javascript, I can accomplish this with the following:
Code:
for (var cnt=0; cnt<4; cnt++){                            
 if (document.form1.txtsty[cnt].value == txtsty){         
  document.getElementById('txtsty').selectedIndex = cnt;  
  document.form1.txtsty[cnt].checked = 'checked';         
  break;                                                  
 }                                                        
}
How can I accomplish this same thing using jquery?