jQuery获取属性值

<img id="img" src="/img" />
$("#img").attr("src");
原文地址:https://www.cnblogs.com/lxcmyf/p/6865887.html