The following JavaScript works in Firefox 2, but not in IE6. Is this a known bug in IE? The page validates in Firefox, but shows some unknown "Error on page" in IE. Any idea?
HTML Code:
<script language="javascript" type="text/javascript">
<!--
var newwindow;
function popuo(url, name)
{
newwindow=window.open(url,name,'height=550,width=550,left=500,top=350,resizable=yes,scrollbars=yes');
if (window.focus) {newwindow.focus()}
}
// -->
</script>
<a href="javascript:popup('/page1.html');">Page 1</a>