您的位置:程序门 -> java -> j2ee / ejb / jms



有人能帮看看这代码是什么意思吗?


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


有人能帮看看这代码是什么意思吗?
发表于:2007-07-22 01:33:10 楼主
<html>
<body
<form   name= "xtglloginactionform "   method= "post ">
<script   language= "javascript ">
    window.opener   =   'xxx ';
    this.close();

    var   top,left,width,height;
    left=0;
    top=0;
    width=screen.availwidth;
    height=screen.availheight;
    varviewwindow=true;
    indexwinviewwindow=window.open( " <%=request.getcontextpath()%> /login.jsp ", "indexmainwindow ", "left= "+left+ ",top= "+top+ ",width= "+width+ ",height= "+height+ ",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,   resizable=yes ");
    indexwinviewwindow.focus();
  </script>
  </form>
</body>
</html>
想问一下把script代码放在 <form> 标签内部有什么用呢?为什么 <form> 标签的action属性没有呢?谢谢了!!!


快速检索

最新资讯
热门点击