摘要: 我们经常配套使用substring和indexof来配套截取字符串。 1.substring:(左闭右开) 参数 beginIndex -- 起始索引(包括), 索引从 0 开始。 endIndex -- 结束索引(不包括)。 beginIndex -- 起始索引(包括), 索引从 0 开始。 en 阅读全文
posted @ 2018-11-28 15:59 sunseeker 阅读(25479) 评论(0) 推荐(0) 编辑
摘要: .点击年份马上关闭窗口并且赋值 html代码: jq代码: //这个js是用于按年份查询的日期控件 2.起始月份 html代码: js代码: 阅读全文
posted @ 2018-11-28 15:28 sunseeker 阅读(2362) 评论(0) 推荐(0) 编辑