最佳答案
我有以下密码。
$(document).ready(function(){
$('#listing img')
.attr('width', 250)
.removeAttr('height').removeAttr('align').removeAttr('style')
.wrap('<p />');
});
是否有更有效的方法去除多个属性?