$('#inputTest').on('keyup', function() {
$('#helloSellect option').css({
display: "none"
});
})
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<input id="inputTest">
<select id="helloSellect" multiple>
<option>oye</option>
<option>ram</option>
<option>raj</option>
<option>ban</option>
</select>
I would like to hide the options when user clicks any word in input box. In chrome it is working but not working in IE. What is the issue, and how to resolve it.