标签alert
<script type="text/javascript">
function open(){
alert("你好")
}
</script>
<body>
<a href="javascript:void(0);" onclick="open()">alert</a>
<body>
点击alert后页面变成空白,是什么原因
[解决办法]
<a href="javascript:open()">alert</a>
[解决办法]
<a href="javascript:open()">alert</a>