div元素抓取

var files = $(".button").find("input[type='image']");
files.each(function() {
$(this).click();
});

选取button类下input type的值为image元素

原文地址:https://www.cnblogs.com/zeze/p/4927576.html