<html>
<title>
</title>
<script type="text/javascript">
// window.οnlοad=cc;
function cc(){
alert(123123);
// window.open("http://www.hao123.com")
//window.open().location.href="http://www.hao123.com";
}
</script>
</script>
<!--
<body οnunlοad="cc()">
-->
<body οnlοad="cc()">
</body>
</html>
window.open() / window.open().location.href / <body onunload="cc()">
原创mb64a401e9f23d4 博主文章分类:javaScript ©著作权
文章标签 javascript ViewUI html 文章分类 代码人生
-
location.href和window.open的几种用法和区别
location.href和window.open的几种用法和区别
前端 javascript html 当前页 .net