Explorer 11中的AJAX

can I ask for advice about why this code does not work in IE11? Chrome is all right.

This script filters items when writing text. I assume there will be some differences in the browser. Maybe just add some parameter?

Thank you.

<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js">    </script>
</head>
<body>
<input list="brow">
<datalist id="brow">
  <option value="Internet Explorer">
  <option value="Firefox">
  <option value="Chrome">
  <option value="Opera">
  <option value="Safari">
</datalist>  

<script type="text/javascript">
$(document).ready(function(){
$("input").click(function(){
    $(this).next().show();
    $(this).next().hide();
});

});
</script>
</body>
</html>

I try to make a test with your code in Chrome and IE 11. Based on my testing result, I find that your code is working fine in both browsers.

Testing result with chrome:

enter image description here

Testing result with IE 11:

enter image description here

In testing, You can see that it is working fine in IE 11. I suggest you to try to run the above code with IE and again try to check whether it is working or not. If issue persist than try to inform us the detailed information about your issue. You can also tell us if you see any error or warning message.