In my understanding, a select value will set default value in 2 ways:
- Check if "selected" attribute for any option
- Else place first option as selected
<select name="gender">
<option>Select Gender</option>
<option value="1">Male</option>
<option value="2">Female</option>
<option value="3">Other</option>
</select>
Is there any way through which I can find out by which step(above mentioned) is the default value set for this select