I have been using the following code (with jQuery v1.4.2) to set the \'selected\' attribute of a select list based on its \'text\' description rather than its \'value\':
If you want to selected value on drop-down text bases so you should use below changes: Here below is example and country name is dynamic:
India Ireland