摘要: 需要启个服务 需引入jquery.js和template.js json数据格式 阅读全文
posted @ 2018-04-19 11:57 anne_zhou 阅读(502) 评论(0) 推荐(0) 编辑
摘要: //用 class 获取元素 function getElementsByClass(className,context) { context = context || document; if(document.getElementsByClassName) { return context.getElementsByClassName(className); ... 阅读全文
posted @ 2018-04-19 11:51 anne_zhou 阅读(1277) 评论(0) 推荐(0) 编辑