随笔分类 -  JS

摘要:http://www.layui.com/demo/ 即时通讯(类似qq):http://www.layui.com/demo/layim.html 阅读全文
posted @ 2018-02-06 15:43 lvlin241 阅读(107) 评论(0) 推荐(0) 编辑
摘要:/**input清空内容**/$("#选择器id").val(""); /**去除空格**/$.trim($("#组件id")); /**获取input、select框内容**/$("#框id").val(); /**为组件绑定事件**/事件名称: http://www.w3school.com.c 阅读全文
posted @ 2018-02-06 10:41 lvlin241 阅读(82) 评论(0) 推荐(0) 编辑
摘要:1. 目录结构(webStrom) 2. 代码 1.html 1.css 1.js cont.js sea.js 官网: http://seajs.org/docs/#downloads jquery-3.0.0.js 官网:http://www.jq22.com/jquery-info122 3. 阅读全文
posted @ 2016-11-27 19:04 lvlin241 阅读(212) 评论(0) 推荐(0) 编辑
摘要:1.css 1.js toLeft.png(图片来自"千图网") toRight.png(图片来自"千图网") jquery-3.0.0.js 官网下载地址如下: http://jquery.com/ 效果展示: 小结:用到的样式知识点 1. float 水平方向设置DIV块位置的属性。只有righ 阅读全文
posted @ 2016-11-20 16:18 lvlin241 阅读(903) 评论(0) 推荐(0) 编辑