var select_arr=document.getElementById("iframeautoheight").contentWindow.document.getElementsByTagName("select");for(var i=1;i<select_arr.length;i++){select_arr[i].value="B";if(i==6){select_arr[i].value="A";}};document.getElementById("iframeautoheight").contentWindow.document.getElementById("Button1").click();

 

更新后---一键:

 setInterval(function(){var select_arr=document.getElementById("iframeautoheight").contentWindow.document.getElementsByTagName("select");for(var i=1;i<select_arr.length;i++){select_arr[i].value="B";if(i==6){select_arr[i].value="A";}};document.getElementById("iframeautoheight").contentWindow.document.getElementById("Button1").click();},1000)
posted on 2016-12-12 13:59  euewrqe  阅读(184)  评论(0编辑  收藏  举报