Answers for "whichever the select option value is empty remove that option in jqueery"

3

remove all options from select jquery

$('#mySelect')
    .empty()
Posted by: Guest on March-18-2020
18

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

Code answers related to "whichever the select option value is empty remove that option in jqueery"

Browse Popular Code Answers by Language