js获取html页面代码中图片地址的实现代码 第一种方法:js通过正则实现/***获取html代码中图片地址*@paramhtmlstr*@returns{Array}*/functiongetimgs 图片地址