04 2016 档案

摘要:var arr2 = $.extend(true, [], arr1); 阅读全文
posted @ 2016-04-27 16:11 Rella 阅读(1025) 评论(0) 推荐(0)
摘要:在博客园看家一片不错的文章:http://www.cnblogs.com/EnderH/p/5398409.html 在这里记下对自己比较有用的三种: 1.正则 alert(GetQueryString("参数名")); 2.split拆分 阅读全文
posted @ 2016-04-18 11:51 Rella 阅读(239) 评论(0) 推荐(0)
摘要:<div class="parent"> <div class="child">123</div> </div> css样式使div以表格的特性表现: .parent { width: 400px; height: 360px; display: table; text-align: center; 阅读全文
posted @ 2016-04-18 10:29 Rella 阅读(173) 评论(0) 推荐(0)
摘要:el.removeClass (function (index, css) { return (css.match (/(^|\s)star\S+/g) || []).join(' ');//移除以“star”开头的类}); 阅读全文
posted @ 2016-04-13 16:00 Rella 阅读(610) 评论(0) 推荐(0)