日期:2014-05-18 浏览次数:20694 次
<%@ page language="java" contentType="text/html;charset=GBK" %> <% String souko_cd1 = ""; String souko_cd2 = ""; String int_focusparts = ""; String Bt_select = (String)request.getParameter("p_kaisya"); souko_cd1 = (String)request.getParameter("k_souko_cd_1"); if(souko_cd1==null){ souko_cd1=""; } souko_cd2 = (String)request.getParameter("k_souko_cd_2"); if(souko_cd2==null){ souko_cd2=""; } int_focusparts = souko_cd2; session.setAttribute("cd_1",souko_cd1); %> <html> <head> <title>test </title> <meta http-equiv="Content-Type" content="text/html; charset=GBK"> <script language='javascript'>alert('int_focusparts=\"<%= int_focusparts %>\" \n '); </script> <script language="JavaScript"> <!-- function OpenWindow() { var select= "<%= Bt_select %>"; if(select == 'select' ){ alert('select=\"' + select +'\"'); var kaisyaparts = "<%= int_focusparts %>"; // alert('kaisyaparts=\"' + kaisyaparts +'\"'); if(kaisyaparts < 17 || kaisyaparts > 41){ var subwin; subwin=window.open('b.jsp',null,"menubar=no,srollbar=no,resizable=no,location=no,status=no"); subwin.focus(); } } return false; } --> </script> </head> <body bgcolor="#CCFFCC" onLoad="" style="overflow:auto"> <left> <h1 align="center" class="title" nowrap>test </h1> </left> <form name="form1" method="post" action="a.jsp"> <table > <tr> <td> <tr height="19"> <td width="" align="left" >texta </td> <td width="" align="left" >textb </td> <td width="" align="left" > </td> </tr> <tr height="19">