![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
web 相关
囧小喵i
这个作者很懒,什么都没留下…
展开
-
Moment.js js 时间计算
Moment.js中文文档系列之八时间段(Durations)创建时间段:duration() 人性化:humanize() 毫秒:milliseconds() 秒:seconds() 分:minutes() 小时:hours() 天:days() 月:months() 年:years() 增加时间:add() 减少时间:subtract() 单位转换:as() 取值:...转载 2018-07-23 15:50:04 · 7135 阅读 · 0 评论 -
js checkbox 相关属性
一、判断是否被选中 $("#allCheck").is(':checked') //返回值为 true /false二、js给check赋值$("input[name='checkboxName']").attr("checked",true);$("input[name='checkboxName']").attr("checked","checked");$(...原创 2019-05-21 17:11:16 · 1133 阅读 · 0 评论 -
html 跳转页面
①当前页面跳转 onclick="javascrtpt:window.location.href='http://www.baidu.com'"②新开页面跳转 onclick="window.open('http://www.baidu.com')"原创 2019-05-21 17:32:07 · 553 阅读 · 0 评论