我有以下代码。
$(document).ready(function(){ $('#listing img') .attr('width', 250) .removeAttr('height').removeAttr('align').removeAttr('style') .wrap('<p />'); });
有没有更有效的方法来删除多个属性?
https://stackoverflow.com/questions/13725301
相似问题