Answers for "how to remove all option from select in jquery except first option"

0

jquery remove all options but first

yourSelect.find('option').not(':first').remove();
Posted by: Guest on January-11-2021

Code answers related to "how to remove all option from select in jquery except first option"

Code answers related to "Javascript"

Browse Popular Code Answers by Language