摘要: function addClass1(element,value){ if(!element.className){ element.className = value; }else{ newClassName = elem... 阅读全文
posted @ 2014-11-24 11:02 Joerias 阅读(334) 评论(0) 推荐(0) 编辑
摘要: hello world 阅读全文
posted @ 2014-11-24 10:59 Joerias 阅读(349) 评论(0) 推荐(0) 编辑
摘要: function addLoadEvent(func){ var oldOnload = window.onload; if(typeof(window.onload) != 'function'){ window.onload = func; ... 阅读全文
posted @ 2014-11-24 10:58 Joerias 阅读(144) 评论(0) 推荐(0) 编辑