Counting the Number of Options in a Dropdown with jQuery
Counting elements in a <select> dropdown is trivial, but often an issue for beginners in jQuery. In this short article, you will find how to easily get the count of <option> elements in a dropdown with a single line of jQuery code