js中使用后台传过来的list集合
摘要:
在js代码中使用forEach然后push进array中即可 var arry=new Array(); <c:forEach items="${pd2}" var="item"> arry.push("${item}"); </c:forEach> 阅读全文
posted @ 2017-09-15 01:24 sj_大王 阅读(805) 评论(0) 推荐(0) 编辑
posted @ 2017-09-15 01:24 sj_大王 阅读(805) 评论(0) 推荐(0) 编辑