Edit D:\chineseall_products\chineseall_digitallib\digitallib\digitalLib6\admin\user\createClassExtra.jsp
??<%@ page contentType="text/html;charset=utf-8"%> <%@ taglib prefix="s" uri="/struts-tags"%> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>??????????????</title> <link rel="stylesheet" type="text/css" href="/style/style.css" /> <script type="text/javascript" src="/js/jquery-1.12.4.min.js"></script> <style type="text/css"> body { font-size: 14px; color: #000; background: #fff; } .underWidth { width: 100px; } .bottomHeight { margin-top: 5px; } </style> </head> <body> <div class="crumbs tl">?????????????? >>??????</div> <div class="mainCon"> <s:set name="productType" value="@com.chineseall.core.servlet.InitParameters@productInfoVo.productType"></s:set> <form id="createClassForm" name="createClass" action="createClassExtra.action" method="post"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="addTable"> <s:if test="#productType != '10'"> <tr> <td>???????</td> <td> <s:select theme="simple" cssClass="textIn1" id="schoolId" name="classExtra.schoolId" headerKey="" headerValue="??????" list="list" listKey="id" listValue="name" value="classExtra.schoolId"/> </td> </tr> </s:if> <tr> <td>???</td> <td> <s:select theme="simple" cssClass="textIn" cssStyle="width:auto;float:left;" name="classExtra.g" headerKey="" headerValue="??????" list="#{'1':'????????','2':'????????','3':'????????','4':'????????' ,'5':'????????','6':'????????','21':'????????','7':'????????' ,'8':'????????','9':'????????','31':'????????','10':'????????', '11':'????????','12':'????????'}" value="classExtra.g" id="enrolYear" /> <input type="hidden" id="enrolMonth" name="classExtra.enrolMonth" value="9"> <s:select theme="simple" cssClass="textIn" cssStyle="width:auto;float:left;" name="classExtra.grade" headerKey="" headerValue="???" list="#request.gradeList" listKey="value" listValue="text" value="classExtra.grade" id="grade" /> </td> </tr> <tr> <td> </td> <td align="left" colspan="2"> <input type="hidden" id="objectId" name="classExtra.id" value="${classExtra.id }" /> <input type="hidden" name="currentPage" value="${currentPage}" /> <input class="searchBtn" type="button" onclick="dosubmit();" value="???" /> <input class="searchBtn" type="button" onclick="returnListPage();" value="???" /> <font color="red"><s:property value="info" /></font> </td> </tr> </table> </form> </div> <script type="text/javascript"> function returnListPage() { var obj = document.getElementById("createClassForm"); obj.action = "listClassExtra.action"; obj.submit(); } function dosubmit() { if($("#schoolId").length > 0) { if($("#schoolId").val().length <= 0) { alert("?????????"); return; } } var obj; obj = document.getElementById("enrolYear"); if (obj.value == "") { alert("?????????"); return; } obj = document.getElementById("grade"); if (obj.value == "") { alert("?????????"); return; } document.getElementById("createClassForm").submit(); } </script> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de