2019年2月23日

ajax一

摘要: 最简单版的ajax get版本 post版本 去加油吧少年! 阅读全文

posted @ 2019-02-23 22:43 无所不能的风 阅读(78) 评论(0) 推荐(0)

css二

摘要: 结构性伪类:nth-child(index)系列1.:first-child2.:last-child3.nth-last-child(index)4.only-child :nth-of-type(index)系列1.first-of-type2.last-of-type3.nth-last-ty 阅读全文

posted @ 2019-02-23 22:12 无所不能的风 阅读(66) 评论(0) 推荐(0)

url地址截取

摘要: 面试题: 将let url = 'https://www.baidu.com/s?wd=js&rsv_spt=1',截取为{wd: "js", rsv_spt: "1"} 第一种方法--字符串拆分 所用到方法: indexOf检测出当前字符在字符串中第一次出现的索引,若不存在返回-1 split按照 阅读全文

posted @ 2019-02-23 14:49 无所不能的风 阅读(762) 评论(0) 推荐(0)

导航