<html>
<head>
<script language="vbScript">
<!--
function checksub()
if window.event.keyCode=13 then
if (document.tt.t2.value>document.tt.t1.value) then
msgbox "1"
else
msgbox "#"
end if
end if
end function
-->
</script>
</head>
<form name=tt>
<p>
<input type="text" onkeydown="checksub()" name="t1">
</p>
<p>
<input type="text" onkeydown="checksub()" name="t2">
</p>
<p>
<input type="button" onclick="checksub()" name="Submit" value="Ìá½»" >
</p>
</form>