select option:selected
select option:selected
This doesn't seem to be working:
- var status=$('#status').text();
$('#statusSelect').find('option:contains(status)').attr('selected','selected');
I have confirmed that the event fires and that there is an option that matches the value of 'status' but the select box is getting updated. Any ideas?