Answers for "how to empty select option in jquery"

16

select empty option

<select name="color" id="color" required>
	<option value="" selected disabled hidden>Choose color...</option>
    <option value="R">Red</option>
    <option value="B">Blue</option>
</select>
Posted by: Guest on April-13-2021
3

select empty option

<option disabled selected value> -- select an option -- </option>
Posted by: Guest on June-23-2020

Code answers related to "how to empty select option in jquery"

Browse Popular Code Answers by Language