I am trying to clear all selected option using JQuery on Microsoft Edge browser.
Other than Edge it is working fine.
On Edge it is working but still Edge shows as selected.
If I hover on select box after click on Clear All button then it deselect all option
Below is my code.
HTML
<input type="button" id='clear' value="Clear All"/>
<select id="filter_value_1" style="width:200px;" multiple>
<option>A</option>
<option>B</option>
<option>C</option>
<option>D</option>
<option>E</option>
</select>
JS code
$(document).ready(function(){
$("#clear").click(function(){
$("#filter_value_1 option:selected").removeAttr("selected");
});
});
Demo