我正在开发Blogspot模板,我需要从帖子内容中获取第二张图片
我已经试过这段代码,但是没有得到任何结果:
var postcontent = entry.content.$t; // The Post Content
var images = postcontent.getElementsByTagName('img');
document.write(images[1]);
慕斯709654
相关分类