I’m not that good with jQuery and selectors, but Pratik helped me out with this puzzle.

For our Selenium tests I needed a jQuery function that would select a first element from the drop-down that does have a value

$('#elementID option:not([value=""]):eq(0)').attr('selected', 'selected');