web_jquery_validate
文章平均质量分 51
生命不息_战斗不止
这个作者很懒,什么都没留下…
展开
-
kindeditor富文本编辑器的使用
第一步引入相应的js文件<!-- 引入kindeditor --> <link rel="stylesheet" href="<%=basePath%>kindeditor-4.1.10/themes/default/default.css" /> <link rel="stylesheet" href="<%=basePath%>kindeditor-4.1.10/plugins/原创 2015-06-05 16:23:07 · 3214 阅读 · 1 评论 -
jQuery validate 校验
一导入js库二、默认校验规则(1)required:true必输字段(2)remote:"check.php" 使用ajax方法调用check.php验证输入值(3)email:true 必须输入正确格式的电子邮件(4)url:true 必须输入正确格式的网址(5)date:true 必须输入正确格式的日期 日期校验ie6出错,慎用(6)dateISO:true原创 2015-06-04 20:07:17 · 571 阅读 · 0 评论 -
IE的兼容性解决方法之一
每个ie浏览器都有如图所示的几种文档模式,quirks是叫怪异模式,是很多ui框架兼容不了的,比较明显的像Jquery EasyUI等兼容不了。查了下资料大概这样描述:触发标准模式1、加DOCTYPE声明,比如:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.原创 2015-06-05 15:55:59 · 2076 阅读 · 0 评论