Quantcast
Channel: jQuery remove options from select - Stack Overflow
Viewing all articles
Browse latest Browse all 14

Answer by jajhonrod for jQuery remove options from select

$
0
0

For jquery < 1.8 you can use :

$('#selectedId option').slice(index1,index2).remove()

to remove a especific range of the select options.


Viewing all articles
Browse latest Browse all 14

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>