jquery.rating
jquery.rating copied to clipboard
Correctly count number of selected options
":selected" always returns at least one element, because the browser automatically selects the first element. Using "[selected]", only those elements that really have the "selected" attribute are returned.