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>

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

thank you

i did the popup windows

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.