SyntaxFix
Write A Post
Hire A Developer
Questions
If you are using JQuery, since the 1.6 you have to use the .prop() method :
$('select option:nth(1)').prop("selected","selected");