0
<script>
function myFunction() {
var myWindow = window.open("http://www.w3schools.com" "width=200, height=100);
}
</script>
<a href="terms.html" onclick="myFunction()"> Terms and Conditions</a> in this term and conditions I have an onclick that calls `myFunction()` and i justenter code here have w3school as an example
爲onclick
一個新的瀏覽器窗口,它必須去一個發佈的網站,也可以是一個HTML文件,我已經保存在我的hardrive叫terms.html
?錯誤打開使用JavaScript