How to validate ALL dropdowns using JQuery
Posted on 2014-03-25
I have a x number of dropdown boxes on a page, they all have a class called "Cars", the 1st item on all dropdown boxes has "-- Please select--"
Can someone please help me with some validation that will make sure ALL select boxes that have the class called "Cars" are gone through some validation i.e.
if ANY of the select boxes are set to the 1st item, in my case it is "-- Please select--", but I don't want to say if selectedText == "-- Please select--", as the text can be anything,
so it would be cool if its the selectedIndex.