![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JavaScript
文章平均质量分 80
卤蛋哥
热爱IT行业
展开
-
常见排序算法 之 JavaScript版
常见排序算法 之 JavaScript版 Array.prototype.swap = function (i, j) { var temp = this[i]; this[i] = this[j]; th原创 2011-10-11 16:11:29 · 271 阅读 · 0 评论 -
Javascript连连看
闲来无事做了一个Javascript版的连连看,基本功能已经实现,并添加详细备注,同Javascript学习者们一起学习,大家多多指点。 测试页面 body {background:#0E3460;} #test{ width:400px; height: 400px; margin: 10px auto; } #test div { f原创 2011-11-19 20:01:21 · 3934 阅读 · 1 评论 -
javascript常用代码
//建立XMLHttpRequest对象function createXHR() { if(typeof XMLHttpRequest!="undefined") { //ie7以上浏览器 return new XMLHttpRequest(); } else if(typeof arguments.callee.activeXString!="stri原创 2011-12-16 22:29:48 · 211 阅读 · 0 评论