请 yms123 版主进来帮忙!谢谢!
全部代码如下,请帮我再看看,谢谢!<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>成绩查询</TITLE>
<META http-equiv=Content-Type c>
<META http-equiv=expires content=0><LINK href="成绩查询_files/view.css"
rel=stylesheet>
<SCRIPT src="成绩查询_files/view.js"></SCRIPT>
<SCRIPT language=JavaScript type=text/javascript>
<!--
function check()
{
if (document.all.input_name.value=="")
{
alert('请填写考生姓名。');
document.all.input_name.focus();
return false
}
if (document.all.input_zhunkaozheng.value=="")
{
alert('请填写准考证号(或档案号)。');
document.all.input_zhunkaozheng.focus();
return false
}
document.forms[0].submit()
}
var NN4 = (document.layers) ? true : false;
// required for NN4 to reliably capture key events
if (NN4) document.captureEvents(Event.KEYPRESS)
document.onkeypress = function (event) {
checkEnter(event)
return true
}
//submit the form if the user presses the ENTER key
function checkEnter(event)
{
var code = 0
if (NN4) {
code = event.which
} else {
code = window.event.keyCode
}
if (code==13)
//document.forms[0].submit()
check()
}
// -->
</SCRIPT>
<SCRIPT language=JavaScript type=text/javascript>
<!--
document._domino_target = "_self";
function _doClick(v, o, t, h) {
var form = document._DominoForm;
if (form.onsubmit) {
var retVal = form.onsubmit();
if (typeof retVal == "boolean" && retVal == false)
return false;
}
var target = document._domino_target;
if (o.href != null) {
if (o.target != null)
target = o.target;
} else {
if (t != null)
target = t;
}
form.target = target;
form.__Click.value = v;
if (h != null)
form.action += h;
form.submit();
return false;
}
// -->
</SCRIPT>
<META c name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff onload=document.all.input_name.focus()>
<FORM name=_DominoForm action=http://www.
method=post><INPUT type=hidden value=0 name=__Click>
<TABLE class=FormTable cellSpacing=1 cellPadding=3 width="80%" align=center
bgColor=#ffffff border=0>
<TBODY>
<TR vAlign=top>
<TD width="100%" colSpan=2><B>成绩查询</B></TD></TR>
<TR vAlign=top>
<TD class=FormLabel vAlign=center width="20%">
<DIV align=right>考生姓名:</DIV></TD>
<TD class=FormInput vAlign=center width="80%"><INPUT style="WIDTH: 100%"
name=input_name></TD></TR>
<TR vAlign=top>
<TD class=FormLabel vAlign=center width="20%">
<DIV align=right>准考证号(或档案号):</DIV></TD>
<TD class=FormInput vAlign=center width="80%"><INPUT style="WIDTH: 100%"
name=input_zhunkaozheng></TD></TR>
<TR vAlign=top>
<TD class=FormInput vAlign=center width="100%" colSpan=2>
<DIV
align=center><INPUT onclick=check() type=button value=" 查 询 "></DIV></TD></TR></TBODY></TABLE><BR><BR><BR><BR>
<DIV align=center width="80%">
<SCRIPT src="成绩查询_files/qqcf.htm"></SCRIPT>
</DIV>
<P></FORM></P></BODY></HTML>
[[italic] 本帖最后由 xhui 于 2007-12-3 20:34 编辑 [/italic]]