Answers for "HOW TO REMOVE ALL OPTION VALUE EXCEPT THE FIRST ONE JQUERY"

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 VALUE EXCEPT THE FIRST ONE JQUERY"

Code answers related to "Javascript"

Browse Popular Code Answers by Language