📄 view0.html
字号:
<HTML>
<head>
<title>查询显示页面</title>
<script language = "JavaScript">
function ViewRecords()
{
products.dataPageSize=items.value;
products.firstPage();
}
function FirstPage()
{
products.firstPage();
}
function NextPage()
{
products.nextPage();
}
function LastPage()
{
products.lastPage();
}
function PrevPage()
{
products.previousPage();
}
</script>
</head>
<body bgcolor="aqua">
<h1 align=center>
<xml id="dos" src="Client.xml"></xml>
<center>
<input type="button" value="第一页" onclick="FirstPage()">
<input type="button" value="上一页" onclick="PrevPage()">
<input type="button" value="下一页" onclick="NextPage()">
<input type="button" value="最后一页" onclick="LastPage()">
<BR></BR>
请输入一页中要查看的记录数:<input type="text" maxlength="1" size="2" id="items" name="na1">
<input type="button" value="查看" onclick="ViewRecords()">
<table id="products" border=2 width="80%" datasrc="#dos">
</center>
<thead>
<th>客户姓名</th>
<th>客户住址</th>
<th>联系方式</th>
<th>客户爱好</th>
<th>客户职业</th>
</thead>
<tr>
<td><span datafld="客户姓名"></span></td>
<td><span datafld="客户住址"></span></td>
<td><span datafld="联系方式"></span></td>
<td><span datafld="客户爱好"></span></td>
<td><span datafld="客户职业"></span></td>
</tr>
</table>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -