日期:2014-05-17  浏览次数:20784 次

各位大哥!数值比较问题!请帮下忙!
在客户端输入数据,输入的数值大过一个单元格的值时,提示出错!怎样写!!

------解决方案--------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN ">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME= "Generator " CONTENT= "EditPlus ">
<META NAME= "Author " CONTENT= " ">
<META NAME= "Keywords " CONTENT= " ">
<META NAME= "Description " CONTENT= " ">
</HEAD>

<BODY>
<INPUT TYPE= "text " NAME= "txt " onkeyup= "javascript:if(this.value> 100) alert( '错误! '); ">
</BODY>
</HTML>
不知道你是不是这个意思