Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js select remove all options javascript

	document.querySelectorAll('#mySelect option').forEach(o => o.remove());
 
PREVIOUS NEXT
Tagged: #js #select #remove #options #javascript
ADD COMMENT
Topic
Name
4+4 =