当前位置: 代码迷 >> Web前端 >> window.open() / window.open().location.href / <body onunload="cc()">
  详细解决方案

window.open() / window.open().location.href / <body onunload="cc()">

热度:280   发布时间:2012-11-23 00:03:43.0
window.open() / window.open().location.href / <body onunload="cc()">

<html>

<title>
</title>
<script type="text/javascript">
// window.onload=cc;
function cc(){
alert(123123);
// window.open("http://www.hao123.com")
//window.open().location.href="http://www.hao123.com";

}
</script>
</script>
<!--
<body? onunload="cc()">
-->

<body? onload="cc()">


</body>

</html>

  相关解决方案