Script Language="JavaScript">
<!--
function Check() {
var Temp=Num.value.substring(0,Num.value.length-1);
if(event.keyCode<48 ¦ ¦ event.keyCode>57)
Num.value=Temp;
}
-->
</Script>
<Input Type=Text OnKeyUp="Check()" Name="Num" onpaste="return false;">