var $current = $("#div")
//在使用find()方法可以找到子元素然后遍历
$current.find("img").each(function(i){
$(this).attr("width","98%");
});
var $current = $("#div")
//在使用find()方法可以找到子元素然后遍历
$current.find("img").each(function(i){
$(this).attr("width","98%");
});
© 著作权归作者所有