div元素抓取

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

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

posted @ 2015-11-01 13:46  陈泽泽  阅读(179)  评论(0编辑  收藏  举报