0

hi

below the coding i not opened the popup window


Code:

<html>
<head>

<script language="JavaScript">
window.open('test.htm','myExample9','width=200,height=200');
   
}

</script>

</head>
<body>
<form action="test.htm" target="myExample9">
<input type="submit" value="Open new window">
</form>
</body>
</html>
2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by psathish2
0

Hi,
You should put the window.open() in a method and then call that menthod on the onClick event of the submit button.

Thanks,
Himi

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.