open popup using javascript

<button onclick="myFunction()">Try it</button>

<script>
function myFunction() {
 window.open("popup_page.php", "TEST POPUP", "width=400, height=400");
 //alert(window.parent.location);
}
</script>

Leave a Reply

Your email address will not be published. Required fields are marked *