2012年1月29日

formValidator的一些验证实例

摘要: $(function(){ try { $.formValidator.initConfig({ formid: "formTable", errorfocus: false, submitonce: true, tipstyle: "both", onerror: function(){ // 验证不通过时的回调函数 alert("红色提示处输入非法,请根据提示修改!"); } }); //验证字符串(必填) $("#name").formValidator({ // 验证:模... 阅读全文

posted @ 2012-01-29 10:18 小山丘 阅读(6784) 评论(1) 推荐(3) 编辑

导航