Jquery获取和修改img的src值的方法

获取:

$("#imgId")[0].src;

修改

$("#imgId").attr('src',path); 
原文地址:https://www.cnblogs.com/chenglj/p/7591636.html