How to get all the image sources on a particular Page using Javascript

前端 未结 5 1366
感动是毒
感动是毒 2021-02-08 03:26

I am using a simple script to find an image on a page and get its source.

function img_find() {
    var img_find2 = document.getElementsByTagName(\"img\")[0].sr         


        
5条回答
提交回复
热议问题