This code is working in IE browser but not working in Chrome browser what changes should me made to make it compatible on both the browsers
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script type="text/javascript">
// Execute the following JavaScript after the page has fully loaded, when it's ".ready"
$(document).ready(function(){
//Show/hide columns based on Drop Down Selection
$("select[title='Regional']").change(function() {
if ($("select[title='Regional']").val() != "No")
{
$('nobr:contains("Document Name")').closest('tr').hide();
}
else
{
$('nobr:contains("Document Name")').closest('tr').show();
}
});
});
</script>