<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=gb2312" />
<title>Ajax无刷新留言板</title>
<script type="text/javascript" src="op.js"></script>
<style type="text/css">
body{font-size:10pt;}
td{font-size:10pt;}
a{text-decoration:none}
</style>
</head>
<body>
<table width="500" align="center" border="0" cellpadding="0" cellspacing="2">
<tr><td>每页显示的数据:<input type="text" id="PC" value="10" style="width:50px"/> <input type="button" value="设置" onclick="SetPC()"/></td></tr>
<tr><td align="center">
<table width='100%' border='1' cellpadding='0' cellspacing='2'>
<thead style="background-color:#eeeeee">
<tr><td width='35%' align="center">标题</td>
<td width='50%' align="center">内容</td>
<td width='15%' align="center">操作</td>
</tr>
<tr id="tdMsg" ><td colspan='3' align="center"><font color="red">正在加载数据......</font></tr>
</thead>
<tbody id="tbList">
</tbody>
<tbody>
<tr><td colspan='3' align='center' id="tbGuide">
</td></tr>
</tbody>
</table>
</td></tr>
<tr><td>
<table width='100%' border='1' cellpadding='0' cellspacing='2'>
<tr>
<td width='20%'>标题</td>
<td width='80%'><input type="text" id="title" style="width:100%" /></td>
</tr>
<tr>
<td width='20%'>留言内容</td>
<td width='80%'><textarea id="content" style="width:100%;height:100px"></textarea></td>
</tr>
<tr><td colspan="2" align="center"><input type="button" value="提交留言" onclick="Add()" /></td></tr>
</table>
</td></tr>
</table>
<iframe id="mark" style="display:none;position:absolute;top:0px;left:0px;margin:0px;width:100%;height:100%;background-color:#666666" scrolling="no" frameborder="0"></iframe>
</body>
</html>
AJAX留言板(C# ASP.NET |ASP版)源代码
4星 · 超过85%的资源 需积分: 10 175 浏览量
2009-08-07
14:19:22
上传
评论 2
收藏 15KB RAR 举报
guohouchang
- 粉丝: 35
- 资源: 40