js跳转和关闭窗口语句

作者:笨小孩 发布于:2013-1-31 15:05 分类:网站前端

兼容IE和火狐

跳转:

<script language='javascript' type='text/javascript'>window.location.href="makehtml.php"</script>

关闭:

<script language='javascript' type='text/javascript'>opener=null;self.close(); </script>

标签: Javascript

发表评论:

手机版 | 
Copyright © 2012 lamp46.com All Right Reserved. sitemap