摘要: 1、:first和:first-child <ul> <legend>UL</legend> <li>1</li> <li>2</li> <li>3</li> </ul> $('ul li:first-child') 1.有legend []; 2.没有legend [<li>1</li>] 2、: 阅读全文
posted @ 2016-08-16 15:07 大大的宝剑 阅读(113) 评论(0) 推荐(0) 编辑
摘要: <html> <head> <script type="text/javascript"> function getCookie(c_name) { if (document.cookie.length>0) { c_start=document.cookie.indexOf(c_name + "= 阅读全文
posted @ 2016-08-13 22:19 大大的宝剑 阅读(11650) 评论(0) 推荐(0) 编辑