Jquery method to get and modify the SRC value of img
- 2020-03-30 01:45:19
- OfStack
Jquery for img SRC value examples (link: https://www.jb51.net/article/154746.htm)
Modification:
Access to:
$("#imgId")[0].src;
Modification:
$("#imgId").attr('src',path);