<select name="BillingServiceId" id="BillingServiceId" class="span12 select2 select2_sample1">
<option>...</option>
<option value="AC">AC</option>
...
<option value="RS">RS</option>
<option value="RO">RO</option>
<option value="SC">SC</option>
</select>
$('#BillingServiceId').val("RS");
$('#BillingServiceId>option[value="' + "RS" + '"]').prop('selected', true);
this is the way it looks while theres no value selected
this is the way it looks when i choose one option by click
this is the way it looks when i fill the select value using jquery (it should looks like the case when i select a value by click..)
What can i do? Im ai doing something wrong?
Tks!!!
--
You received this message because you are subscribed to the Google Groups "select2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to select2+u...@googlegroups.com.
To post to this group, send email to sel...@googlegroups.com.
Visit this group at http://groups.google.com/group/select2.
For more options, visit https://groups.google.com/d/optout.