Respect html. Respect javascript. Follow the structure you are writing on, which has made two major changes (validation and ajax) from its second version to the third, in order to apply the new, modern principle - Unobtrusive Javascript . You could fix this error in less time spent asking the question here if you followed this principle (using syntax highlighting vs javascript).
<input type="button" id="ClickMe" name = "ClickMe" Value="ClickMe" />
...
<script type="text/javascript">
$(function () {
$('#ClickMe').click(function () {
window.open('/Home/Create/', 'CustomerSearch', 'height=' + (window.screen.height - 100) + ',width=200,left=' + (window.screen.width - 250) + ',top=10,status=no,toolbar=no,resizable=yes,scrollbars=yes');
});
});
</script>
And as I discovered, this is a problem with the space in the window name in IE - "Client Search". If you delete this space - "CustomerSearch", it will also start working in IE
source
share