Remove values from select list based on condition

后端 未结 18 2270
温柔的废话
温柔的废话 2020-12-05 13:15

I have the following in the page






                    
 

So in matching on the option value of "C" we could remove Cars from the list.

var selectobject = document.getElementsByName('val')[0];
for (var i=0; i

提交回复
热议问题