Answers for "jquery remove all options but first"

0

jquery remove all options but first

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

Code answers related to "jquery remove all options but first"

Code answers related to "Javascript"

Browse Popular Code Answers by Language