上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 68 下一页
jquery.validate是jquery的一个验证框架,可以迅速验证一些常见的输入,并且可以自己扩充自己的验证方法!这里先从介绍简单的使用方法:jquery.validate.js下载地址1、导入js库js库+jquery.validate.js2、 验证表单:姓名:邮箱:3、执行:4、拓展验证:jquery.validate.js里面的message有什么验证内容type和name值改成相应的值,如:下面的date 5、修改验证提示:引入messages_cn.js:jQuery.extend(jQuery.validator.messages, { required: "必选 Read More
posted @ 2013-09-30 11:47 tinyphp Views(2590) Comments(0) Diggs(0) Edit
1、下载ThinkPHP包2、引入ThinkPHP.php创建目录文件,默认ThinkPHP框架所在文档目录<?php //加载框架入口文件 require './ThinkPHP/ThinkPHP.php';或指定目录new<?php //定义项目名称 define('AP... Read More
posted @ 2013-09-26 11:37 tinyphp Views(5535) Comments(0) Diggs(0) Edit
进入相关文件夹,>>tree Read More
posted @ 2013-09-26 11:02 tinyphp Views(395) Comments(0) Diggs(0) Edit
Regex Match Tracer破解版下载使用:相关:收藏几个好用的在线正则验证网 Read More
posted @ 2013-09-10 08:23 tinyphp Views(2740) Comments(0) Diggs(0) Edit
注意:ZeroClipboard在本地测试无法直接使用,必须在服务器上测试,如http://localhost... 准备:ZeroClipboard.swf 和 ZeroClipboard.js 小示例:单用 下载Demo>>>>>>>>> 通用版: jq:zclip复制 ZeroClipboar Read More
posted @ 2013-09-07 16:24 tinyphp Views(20948) Comments(1) Diggs(1) Edit
手机验证:/^((0{0,1}1[3458]{1}[0-9]{9})|((00852)?[96]{1}\d{7})|((00853)?6\d{7})|((00886)?09\d{8}))$/ig邮箱验证:/^([a-zA-Z0-9])+([a-zA-Z0-9_\.\-])*\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})$/ig身份证验证:/^(\d{18}|\d{15}|\d{17}x)$/ig仅包含汉字英文字母及空格:/^[\u4e00-\u9fa5a-zA-Z\s]+$/ig Read More
posted @ 2013-09-06 17:27 tinyphp Views(207) Comments(0) Diggs(0) Edit
透明度对整个图层起作用填充度对特效不起作用 Read More
posted @ 2013-09-04 23:45 tinyphp Views(319) Comments(0) Diggs(0) Edit
2参数,样式,时间$(this).animate({top:"100px","opacity": "0"},1000)3参数,样式,时间,返回$(this).animate({top:"100px"},1000,function(){..}) Read More
posted @ 2013-09-02 16:04 tinyphp Views(786) Comments(0) Diggs(0) Edit
幻灯片播放-2013 直接下载看看更方便!JQ:$(document).ready(function(){ var time=2000; //时间间隔 var interval; //计时对象 var picHeight=193; //图片高度 index=0; //当前 picLength=$(".img img").length; //图片张数 ... Read More
posted @ 2013-08-31 10:41 tinyphp Views(420) Comments(0) Diggs(0) Edit
单个样式:$(this).css("color","red");多个样式:$(this).css({color:"red",background:"black"});获取样式值:$(this).css("color") Read More
posted @ 2013-08-30 11:54 tinyphp Views(4161) Comments(0) Diggs(0) Edit
上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 68 下一页