摘要: var selectArr = $(".commentary_fix select") for (var i = 0; i < selectArr.length; i++) { selectArr[i].options[0].selected = true; } 阅读全文
posted @ 2019-04-17 10:14 梁晓天 阅读(835) 评论(0) 推荐(0)
摘要: var typeAll=["a","b","c"]; $.each(typeAll, function(index, value){ $(".lie table tr td .aclass").append("<a>"+ value + "</a>"); }); /读取数组第几个元素 var typ 阅读全文
posted @ 2019-04-17 10:13 梁晓天 阅读(151) 评论(0) 推荐(0)