$('.select option:selected[innerHTML="5"]')
My goal here is to select an option which is currently selected and which's innerHTML matches exactly a string (example : "5")
Here's a fiddle : http://jsfiddle.net/kxkzU/4/
This : $('.select option:selected:contains("5")') does not work since then value 0.375 would match.