摘要: 介绍了String.match()方法和RegExp.exec()方法的相同点和不同点。 阅读全文
posted @ 2013-01-10 15:04 zhaoran 阅读(1215) 评论(0) 推荐(0) 编辑
摘要: 本文介绍了一种file input的美化方案 阅读全文
posted @ 2013-01-05 20:42 zhaoran 阅读(5147) 评论(0) 推荐(0) 编辑
摘要: 将数组arr2插入到数组arr1的index位置:var arr1 = ['a', 'b', 'c'];var arr2 = ['1', '2', '3'];var index = 1;arr2.unshift(index, 0);Array.prototype.splice.apply(arr1, arr2);console.log(arr1);显示结果:["a", "1", "2", "3", "b&quo 阅读全文
posted @ 2012-12-05 18:37 zhaoran 阅读(378) 评论(0) 推荐(0) 编辑
摘要: ie7下的z-index bug 阅读全文
posted @ 2012-12-05 02:43 zhaoran 阅读(198) 评论(0) 推荐(0) 编辑