随笔分类 -  jQuery

摘要:第一种: 自己测试时 只适合于input 和textarea 但是针对于其他标签的复制就不能用了。代码如下: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8 阅读全文
posted @ 2019-08-09 20:32 阅读(391) 评论(0) 推荐(0) 编辑
摘要:1、jsonp 2、iframe 3、cors https://segmentfault.com/a/1190000015597029 https://www.cnblogs.com/chenshishuo/p/4919224.html 阅读全文
posted @ 2019-05-19 15:56 阅读(118) 评论(0) 推荐(0) 编辑
摘要:http://fex.baidu.com/webuploader/ webuploader插件使用分析 https://www.cnblogs.com/Brose/p/webuploader_java.html 记一次WebUploader的使用 https://blog.csdn.net/fore 阅读全文
posted @ 2018-04-17 10:19 阅读(136) 评论(0) 推荐(0) 编辑
摘要:JavaScript(jQuery)中的事件委托 https://www.cnblogs.com/zhoushengxiu/p/5703095.html js中的事件委托或是事件代理详解 https://www.cnblogs.com/liugang-vip/p/5616484.html 阅读全文
posted @ 2018-04-17 08:39 阅读(131) 评论(0) 推荐(0) 编辑
摘要:原文链接:http://www.cnblogs.com/Wayou/p/jquery_plugin_tutorial.html (有部分增删和修改) jQuery插件开发模式 软件开发过程中是需要一定的设计模式来指导开发的,有了模式,我们就能更好地组织我们的代码,并且从这些前人总结出来的模式中学到很 阅读全文
posted @ 2017-10-22 19:46 阅读(261) 评论(0) 推荐(0) 编辑
摘要:1、将jQuery转换为dom对象的方法 [index] 或者.get(index): a、$(“#form”)[index] ,该方法获取form元素的dom对象 b、$(“#form”).get(index) 2、将js的dom对象转换为jQuery对象,对于已经是一个DOM对象,只需要用$() 阅读全文
posted @ 2017-10-17 16:31 阅读(2800) 评论(0) 推荐(0) 编辑
摘要:Javascript: IE中:document.body.clientWidth ==> BODY对象宽度document.body.clientHeight ==> BODY对象高度document.documentElement.clientWidth ==> 可见区域宽度document.d 阅读全文
posted @ 2017-08-23 16:38 阅读(213) 评论(0) 推荐(0) 编辑
摘要:默认校验规则 (1)required:true 必输字段(2)remote:"check.php" 使用ajax方法调用check.php验证输入值(3)email:true 必须输入正确格式的电子邮件(4)url:true 必须输入正确格式的网址(5)date:true 必须输入正确格式的日期(6 阅读全文
posted @ 2017-07-21 16:30 阅读(149) 评论(0) 推荐(0) 编辑
摘要:解决移动端左右上下滑动 阅读全文
posted @ 2017-03-22 14:33 阅读(1981) 评论(0) 推荐(0) 编辑
摘要:无标题文档 阅读全文
posted @ 2017-02-21 20:46 阅读(284) 评论(0) 推荐(0) 编辑
摘要:焦点轮播图(一) 阅读全文
posted @ 2017-02-07 21:01 阅读(259) 评论(0) 推荐(0) 编辑
摘要:前端各种库的在线引入地址 阅读全文
posted @ 2017-02-01 20:45 阅读(834) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示