SyntaxFix
Write A Post
Hire A Developer
Questions
Although the each function probably isn't necessary ...
$('select').each(function(){ $(this).find('option:first').prop('selected', 'selected'); });
works for me.