摘要:
直接上代码:functionSum(obj){if(isNaN($(obj).val())){alert("请输入1-10的数字。");$(obj).attr("value","");$(obj).focus();returnfalse;}vartotal=0;varcount=0;$("input[type='text']").each(function(i){count++;if($(this).attr("t")=="1"){if($(this).val 阅读全文
posted @ 2012-07-05 16:42
望穿秋水
阅读(4148)
评论(0)
推荐(1)