$(document).ready(function(){
...
var totalCount = <%=totalCount%>;
//$("#buttonDisplay").attr("style","none");
var downloads = $("input[name^='downloadButtonId']");
console.log(downloads);
$.each(downloads,function(a,b){
b.style.display = "none";
b.disabled = true;
console.log(b.name);
});
...
});
jQuery操作DOM与遍历元素
122

被折叠的 条评论
为什么被折叠?



