随笔分类 -  前端

摘要:js 判断字符串中是否包含某个字符串 阅读全文
posted @ 2017-10-27 19:32 草木物语 阅读(1166249) 评论(8) 推荐(8) 编辑
摘要:jquery 事件的绑定,触发和解绑 阅读全文
posted @ 2017-10-27 19:23 草木物语 阅读(998) 评论(0) 推荐(0) 编辑
摘要:js click 与 onclick 事件绑定与解绑 阅读全文
posted @ 2017-10-27 11:11 草木物语 阅读(195154) 评论(0) 推荐(2) 编辑
摘要:jquery 表单序列化 $().serialize() $().serializeArray() $().serializeJson() 阅读全文
posted @ 2017-10-26 18:54 草木物语 阅读(424) 评论(0) 推荐(0) 编辑
摘要:js jquery 数组的合并 对象的合并 阅读全文
posted @ 2017-10-26 16:51 草木物语 阅读(23837) 评论(0) 推荐(0) 编辑
摘要:js 表单提交 阅读全文
posted @ 2017-10-26 14:20 草木物语 阅读(784) 评论(0) 推荐(0) 编辑
摘要:js 刷新 location.reload() location.replace(location.href) history.go(0) location.assign(location.href) 阅读全文
posted @ 2017-10-25 18:04 草木物语 阅读(223) 评论(0) 推荐(0) 编辑
摘要:css 禁止选中文本 阅读全文
posted @ 2017-10-25 12:41 草木物语 阅读(399) 评论(0) 推荐(0) 编辑
摘要:点击a标签不跳转的办法 阅读全文
posted @ 2017-10-12 18:48 草木物语 阅读(8511) 评论(0) 推荐(0) 编辑
摘要:新旧弹性盒 样式 阅读全文
posted @ 2017-09-20 18:07 草木物语 阅读(658) 评论(0) 推荐(0) 编辑
摘要:弹性盒布局 水平垂直居中(新弹性盒) display: flex; 弹性父元素属性 align-items 设置或检索弹性盒子元素在侧轴(纵轴)方向上的对齐方式。 内容对齐(justify-content)属性应用在弹性容器上,把弹性项沿着弹性容器的主轴线(main axis)对齐。 阅读全文
posted @ 2017-09-20 18:02 草木物语 阅读(12240) 评论(0) 推荐(1) 编辑
摘要:安卓没有角标问题 ios角标混乱问题 服务端同步ios角标 Android平台如发送的是透传消息不触发"receive" Android平台离线消息接受缓慢问题 阅读全文
posted @ 2017-09-19 18:25 草木物语 阅读(606) 评论(0) 推荐(0) 编辑
摘要:1.form元素上加onsubmit="return false" 2.多个input存在时按回车不会自动提交   3.给input绑定onkeydown事件 阅读全文
posted @ 2017-09-14 11:41 草木物语 阅读(3574) 评论(0) 推荐(0) 编辑
摘要::first-child :last-child :first-of-type :last-of-type :nth-child(n) :nth-last-child(n) :nth-of-type(n) :nth-last-of-type(n) :only-of-type :only-child 阅读全文
posted @ 2017-08-17 14:43 草木物语 阅读(3523) 评论(0) 推荐(0) 编辑
摘要:标志;正则表达式对象;exec()函数;test()函数;compile()函数;$1...$9 属性; 阅读全文
posted @ 2017-08-16 09:19 草木物语 阅读(1136) 评论(0) 推荐(0) 编辑
摘要:mui-action-menu mui侧滑菜单"点击含有mui-action-menu类的控件"无法实现侧滑 阅读全文
posted @ 2017-07-12 11:07 草木物语 阅读(2065) 评论(0) 推荐(0) 编辑
摘要:css 选择符中的 >,+,~,^,$,*,|,:,空格 的意思 阅读全文
posted @ 2017-06-29 14:36 草木物语 阅读(1197) 评论(0) 推荐(0) 编辑
摘要:用table绘制 等宽等间距的单元 empty-cells: show; border-collapse: separate; table-layout: fixed; 阅读全文
posted @ 2017-06-22 17:24 草木物语 阅读(679) 评论(0) 推荐(0) 编辑
摘要:word-break:break-all和word-wrap:break-word的区别 阅读全文
posted @ 2017-06-21 16:49 草木物语 阅读(268) 评论(0) 推荐(0) 编辑
摘要:js 函数声明和函数表达式的区别 阅读全文
posted @ 2017-06-09 09:19 草木物语 阅读(321) 评论(0) 推荐(0) 编辑

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