摘要: var g =function (id){ if ( id.substr(0,1)=='.' ){ return document.getElementsByClassName( id.substr(1) ); } return document.getElementById(id); } 阅读全文
posted @ 2015-06-13 22:28 留在世间光年 阅读(163) 评论(0) 推荐(0)