$('#inputTest').on('input', 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 need assistance in hiding the options when a user types in the input box. It works fine in Chrome but has issues in IE. What could be causing this problem and how can I fix it?