jquery remove all options but first

82

jquery remove all options but first -

yourSelect.find('option').not(':first').remove();

Comments

Submit
0 Comments