How about a function that i can get the selected option from a select input or set as selected an option from a given select
Example:
<select>
<option value="SP">Sao Paulo</option>
<option value="RJ">Rio de Janeiro</option>
...
</select>
$('input[type=select]').select('SP');
// option: SP
var selectedOption = $('input[type=select]').selected();
How about a function that i can get the selected
optionfrom aselect inputor set asselectedanoptionfrom a givenselectExample: