Answers for "how to remove select first option is blank in jquery dropdown"

0

jquery remove all options but first

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

remove first select option jquery

$(document).on('click', 'select', function() {
   $(this).find('option').get(0).remove();
});
Posted by: Guest on June-03-2021

Code answers related to "how to remove select first option is blank in jquery dropdown"

Code answers related to "Javascript"

Browse Popular Code Answers by Language