bookguanli.asp

来自「图书管理系统」· ASP 代码 · 共 67 行

ASP
67
字号
<!--#include file="checkuser.asp" -->
<style>
BODY{
	font-family:verdana,arial,helvetica;
	margin:0;
}
td {
	font-family:Tahoma,Verdana, Arial;
	font-size:11px;
	border: 1px solid #CCCCCC;
}
A:link, A:active,A:visited
{
	color: #CCCCCC;
	text-decoration: none;
	padding-left:6px;
	padding-right:6px;
}
A:hover
{
	color: #FF3300;
	text-decoration: none;
	padding-left:6px;
	padding-right:6px;
}
.STYLE1 {color: #135294}
</style>
<body onLoad="tiaoxingma();">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<form name="form1" method="post" action="bookedit.asp">
  <table width="100%" height="76" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td height="36" align="center" background="images/bg2.gif"><span class="STYLE1">图书管理查询</span></td>
    </tr>
    <tr>
      <td align="center"><p>条形码:
          <input name="tiaoxingma" type="text" id="tiaoxingma"> 
          <input type="submit" name="Submit" value="查找图书" onClick="return checkform();">
        </p>
      </td>
    </tr>
  </table>
</form>
</body>
<script language="JavaScript" type="text/javascript">
function tiaoxingma(){
document.form1.tiaoxingma.focus();
document.form1.tiaoxingma.select();
}



function checkform(){
 if (document.form1.tiaoxingma.value==""){
 alert('书籍条形码不能为空!');
 document.form1.tiaoxingma.focus();
 document.form1.tiaoxingma.select();
 return false;
 }
}

</script>


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?