function checkForm(){
var flag = V.validate({
rules: {
'adPlanBBeanForm:planId': {
required: true,
number:true,
},
'adPlanBBeanForm:title': {
required: true,
maxlength:{maxlen:100}
},
'adPlanBBeanForm:foreCase':{
maxlength:{maxlen:500}
}
},
messages:{
}
});
return flag;
}
//]]>
</script>
那样验证后确定按钮点不了 有什么有效的方法或者给了默认时间后有什么方法可以屏蔽了控件底下的清空
var flag = V.validate({
rules: {
'adPlanBBeanForm:planId': {
required: true,
number:true,
},
'adPlanBBeanForm:title': {
required: true,
maxlength:{maxlen:100}
},
'adPlanBBeanForm:foreCase':{
maxlength:{maxlen:500}
}
},
messages:{
}
});
return flag;
}
//]]>
</script>
那样验证后确定按钮点不了 有什么有效的方法或者给了默认时间后有什么方法可以屏蔽了控件底下的清空
解决方案 »
- ————lucene3.5 全文检索案例————0.1秒检索60万数据
- 如何让JFileChooser的对话框保持在最前,是点击jsp页面的按钮弹出来的
- structs2 +spring+hibernate action 拿值无限难
- 谁有effective java 中文第二版的电子书吗
- java应用将中文jsp页面转换成pdf
- 谁熟悉金碟EAS BOS
- 一个页面调用多个action?
- 最近思维混乱.请教一下HttpServletRequest与HttpServletResponse的问 题
- 请教JAVA 怎么同时操作多个数据库
- 请问那位大虾有《精通ejb》电子图书或者是下载地址,能否共享一下资源。
- 一句SQL问题
- javaMail使用企业邮箱发邮件失败的问题
呵呵,强烈建议你用My97DatePicker这个时间日期控件。