how to retrieve valeu from select in js code example
Example 1: c# remove from list in foreach
myList.RemoveAll(x => x.SomeProp == "SomeValue");
Example 2: How to remove options from selectlist in javascript?
var selectobject = document.getElementById("mySelect");
for (var i=0; i<selectobject.length; i++) {
if (selectobject.options[i].value == 'A')
selectobject.remove(i);
}