So everytime I click the href, there's a popup page which is add_form.php
that will appear, and there's a form inside of it.
This is my code:
<a href="" onclick='return popup_link()'>Add</a>
<script type='text/javascript'>
function popup_link(){
var url = 'add_form.php';
window.open(url,'win2','status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=1076,height=768,directories=no,location=no');
}
</script>
I just want to know, how to remove the URL of the current page inside the address bar where in this is the output every time I click the <href>
link.
http://127.0.0.1/no%20page%20reload/add_form.php
The above URL points to localhost. I don't want to see the URL on that popup page. So that everytime I print the current page, there's no URL included or displayed on the printed page.