<HTML>
<HEAD>
<TITLE>Test Input</TITLE>
<script type="text/javascript">
function go (form) {
var Tid = document.upperform.inputbox.value;
alert ("You typed: " + Tid);
//window.location.href = 'http://serverpage=' + Tid + '&tab=0';
</script>
</HEAD>
<BODY>
<FORM NAME="upperform" ACTION="" METHOD="GET">Go to this Task ID:
<INPUT TYPE="text" NAME="inputbox" VALUE="" OnBlur="validate(this.form)">
<INPUT TYPE="button" NAME="button" Value=" Go " onClick="go(this.form)">
</FORM>
</BODY>
</HTML>
我不能让它工作。看起来它应该可以工作,但我一定错过了一些东西。有什么建议么?