img中,src不加会出现图片加载不出来的样样式,想让它变成空白样式 使用无效 $(image).attr('src',''); $(image).removeAttr("src"); 解决方法 $(image).attr('src',' '); --此处是空格