SyntaxFix
Write A Post
Hire A Developer
Questions
With jQuery > 1.6.1 should be better to use this syntax:
$('#span_id select option[value="' + some_value + '"]').prop('selected', true);