bookType_add.jsp
上传用户:ycdfsj258
上传日期:2022-08-04
资源大小:1094k
文件大小:2k
源码类别:

图形图象

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  2. <html>
  3. <head>
  4. <title>添加图书类型信息</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  6. <link href="CSS/style.css" rel="stylesheet">
  7. </head>
  8. <script language="jscript">
  9. function check(form){
  10. if(form.typeName.value==""){
  11. alert("请输入类型名称!");form.typeName.focus();return false;
  12. }
  13. if(form.days.value==""){
  14. alert("请输入可借天数!");form.days.focus();return false;
  15. }
  16. }
  17. </script>
  18. <body>
  19. <table width="292" height="175" border="0" cellpadding="0" cellspacing="0" background="Images/subBG.jpg">
  20.   <tr>
  21.     <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
  22.       <tr>
  23.         <td width="3%" height="31">&nbsp;</td>
  24.         <td width="94%">&nbsp;</td>
  25.         <td width="3%">&nbsp;</td>
  26.       </tr>
  27.       <tr>
  28.         <td>&nbsp;</td>
  29.         <td><table width="100%" height="131"  border="0" cellpadding="0" cellspacing="0">
  30.           <tr>
  31.             <td align="center"> <form name="form1" method="post" action="bookType.do?action=bookTypeAdd">
  32. <table height="100"  border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  33.       <tr>
  34.         <td width="77" align="center">类型名称:</td>
  35.         <td width="198" height="39">
  36.           <input name="typeName" type="text" size="30">        </td>
  37.       </tr>
  38.       <tr>
  39.         <td width="77" align="center">可借天数:</td>
  40.         <td height="35"><input name="days" type="text" id="days" size="25">
  41.           (天)</td>
  42.       </tr>
  43.       <tr>
  44.         <td align="center">&nbsp;</td>
  45.         <td><input name="Submit" type="submit" class="btn_grey" value="保存" onClick="return check(form1)">
  46.           &nbsp;
  47.           <input name="Submit2" type="button" class="btn_grey" value="关闭" onClick="window.close();"></td>
  48.       </tr>
  49.     </table>
  50.         </form></td>
  51.           </tr>
  52.         </table></td>
  53.         <td>&nbsp;</td>
  54.       </tr>
  55.       <tr>
  56.         <td>&nbsp;</td>
  57.         <td>&nbsp;</td>
  58.         <td>&nbsp;</td>
  59.       </tr>
  60.     </table></td>
  61.   </tr>
  62. </table>
  63. </body>
  64. </html>