Napriklad takhle:
<input type='button' value = 'klikni' onclick=newt();>
<script>
function newt() {
var newt=window.open('', "_blank", "width=50,height=50");
newt.document.write("AHOJ");
}
</script>
Napriklad takhle:
<input type='button' value = 'klikni' onclick=newt();>
<script>
function newt() {
var newt=window.open('', "_blank", "width=50,height=50");
newt.document.write("AHOJ");
}
</script>