摘要: 通过class获取元素,兼容IE678并进行了优化 function getByClass(oParent,sClass){ if(oParent.getElementsByClassName){//判断是否支持getElementsByClassName() return oParent.getE 阅读全文
posted @ 2018-08-21 15:52 yuan权 阅读(191) 评论(0) 推荐(0) 编辑