帮忙解决asp网站问题

来源:百度知道 编辑:UC知道 时间:2024/06/05 12:00:28
我用Macromedia Dreamweaver 8做了个网页,大致的意图可查看http://www.hellotat.com/jjc/index.asp 这个网页想实现的作用是我在文本框里输入的数据数后点“提交”能在“合计”栏文本框中自动统计出结果而不跳转到其他页面(“合计”的数据算法是 本次输入的开分数-本次输入的洗分数-数据库中保存的上次输入开分数+数据库中上次输入洗分数),结果如果正确就点插入记录把数据保存到数据库。望有热心人帮忙给个大致框架,或者帮忙实现点提交在当前页的“合计”栏里显示结果不跳转到其他页面的功能。如实现的完整的话给予追加分数。
可否再详细一点噢

很多注册会员的地方,都有一个检测会员帐号是否可用的功能,而且点击按钮后不用提交就可以完成检测,下面就是它的实现方法
<input name="nick" type="text" id="nick" >
<span id="msg"></span>
<input name="over" type="button" id="over" onClick="checknick();" value="检测帐号">

<iframe id="sendframe" name="sendframe" src="about:blank" width="0" height="0" scrolling="no"></iframe>
<form action="lookover.php" method="post" name="receive" id="receive" target="sendframe">
<input name="h_nick" type="hidden" id="h_nick" value="">
</form>
<script>
function checknick()
{
document.getElementById("h_nick").value=document.getElementById("nick").value;
document.getElementById(&quo