(035)javascript_bom_location

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 2 <html xmlns="http://www.w3.org/1999/xhtml">
 3 <head>
 4     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 5     <title>BOM</title>
 6     <script type="text/javascript">
 7 
 8         //alert(window.location);
 9         
10         window.location = "http://www.baidu.com";
11 
12     </script>
13 </head>
14 
15 <body>
16 
17 </body>
18 </html>

 

posted @ 2014-03-23 10:33  雪中飞雁  阅读(69)  评论(0)    收藏  举报