I have a number of dropdown menus, and the first value for all is empty (i.e., "). What is the best way to select FIRST, whose value is" "? I tried things like
$j("[id*='user'] option[value='']").first().prop("selected", true);
But that means that he is looking for one that matches.
(ALL IDs start with "user", I need to find the first user selection that has an empty value ...)
source share