Is there a jQuery function that could randomize multiple dropdown select menus on a page, if they all have the same class - even if they are different lengths? So when a person loads a page, different options are selected by default?
I found this article Need a jQuery randomly selected identifier from options available, but it only appears to work with one select.
example:
<select class="selector">
<option>Option A</option>
<option>Option B</option>
<option>Option C</option>
<option>Option D</option>
</select>
<select class="selector">
<option>Option A</option>
<option>Option B</option>
<option>Option C</option>
</select>
<select class="selector">
<option>Option A</option>
<option>Option B</option>
<option>Option C</option>
<option>Option D</option>
<option>Option E</option>
</select>