<div> <p>fff</p> </div> <button type="">d</button> <input></input> $("div").on('click', function(event) {alert(22);}); 可以直接跟上方法名触发 $("button").click(f ...
分类:
Web程序 时间:
2019-03-22 19:04:29
阅读次数:
227
1、SweetAlert (弹出框):https://github.com/t4t5/sweetalert 2、SweetAlert2 (弹出框):https://github.com/limonte/sweetalert2 3、Font Awesome(字体图标):http://fontaweso ...
分类:
其他好文 时间:
2019-03-22 15:30:59
阅读次数:
120
选择器 实例 选取 * $("*") 所有元素 #id $("#lastname") id="lastname" 的元素 .class $(".intro") 所有 class="intro" 的元素 element $("p") 所有 <p> 元素 .class.class $(".intro.d ...
分类:
Web程序 时间:
2019-03-22 13:02:04
阅读次数:
223
前端学习资源实在是又多又广,在这样的一个知识的海洋里,我们像一块海绵一样吸收,想要快速提高效率,平时的总结不可缺少,以下总结了一些,排版自我感觉良好,推送出来。 一、插件类网站 jQuery插件库:http://www.jq22.com/ 最简单强大的插件框架:http://www.iopenwor ...
分类:
Web程序 时间:
2019-03-22 00:36:46
阅读次数:
238
layer是一款近年来备受青睐的web弹层组件,这得益于她全方位的解决方案,并致力于服务各个水平段的开发人员,您的页面会轻松地拥有丰富友好的操作体验。她尽可能地在以更少的代码展现更强健的功能,且格外注重性能的提升、易用和实用性,layer兼容了包括IE6在内的所有主流浏览器。 她数量可观的接口,使得 ...
分类:
其他好文 时间:
2019-03-21 20:01:59
阅读次数:
166
jquery 1.swiper.min.js 轮播图 https://www.swiper.com.cn/usage/ 2.video-js 视频播放 http://www.jq22.com/jquery-info404 3.scrollReveal.js 滚动展示动画 https://scroll ...
分类:
其他好文 时间:
2019-03-21 19:58:46
阅读次数:
187
到位 App 不写 node 服务器,本地模拟 ajax 获取 json 数据 源代码 参见 使用 webstorm 运行 index.html 本地静态的 data.json 前端 index.js 写 node 服务器,真实模拟实际情况 获取 json 数据 源代码 参见 1. 新建 npm 包 ...
分类:
移动开发 时间:
2019-03-21 18:42:58
阅读次数:
320
? <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equ ...
分类:
Web程序 时间:
2019-03-21 10:24:34
阅读次数:
247
http://jqueryui.com/datepicker/ 在jquery ui中,提供了一个非常实用的日期选择器:datepicker,使用它能非常方便的展现日历中的日期,灵活配置相关选项,包括日期格式、范围等。我们经常在WEB应用中用到datepicker,比如要求用户输入日期进行相关查询的 ...
分类:
Web程序 时间:
2019-03-21 01:23:01
阅读次数:
200
简介 zepto是轻量级的JavaScript库,专门为移动端定制的框架 它与jquery有着类似的API,俗称:会jquery就会用zepto zepto官网 zepto github地址 特点 针对移动端 轻量级,压缩版本只有8kb左右 响应,执行快 语法,API大部分同jquery一样,学习难 ...
分类:
其他好文 时间:
2019-03-21 00:52:17
阅读次数:
237