X
使用$(".screenShot img").attr("src", res)
或$(".screenShot").append('')可将服务端返回的base64图片添加到img上
JQuery动态添加标签方法
一、向该节点内部后方添加:
1 $(".screenShot").append("");
2 $("").appendTo(".screenShot");
二、向该节点内部前方添加:
1 $(".screenShot").prepend("");
2 $("").prependTo(".screenShot");
三、向该节点同级后方添加:
1 $(".screenShot").after("");
2 $("").insertAfter(".screenShot");
四、向该节点同级前方添加:
1 $(".screenShot").before("");
2 $("").insertBefore(".screenShot");


