|
On the click of a button I have to display a pop-up window. When the name parameter for the pop-up window is separated by spaces,
I get an error that says it is an invalid argument. I get this error in Internet Explorer browser but not in Mozilla Firefox.
How do I fix the problem in IE?
<html>
<head>
<title>
Pop-up Window
</title>
<script>
function dispPop()
{
features="height=400,width=500,status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes,top=200,left=200";
window.open("pop.html","a b c;",features);
}
</script>
</head>
<body>
<input type="button" onclick="dispPop();" value="pop-up"/>
</body>
</html>
|
|
|
|
|
|
|
|