Last Updated: April 14, 2016
·
28.15K
· iondrimba

Remove all except first item on a html select list (jQuery)

var selectList = $("whatever-selector");
selectList.find("option:gt(0)").remove();