欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

JS模擬自動(dòng)點(diǎn)擊的簡(jiǎn)單實(shí)例

 更新時(shí)間:2013年08月08日 11:26:25   作者:  
這篇文章介紹了JS模擬自動(dòng)點(diǎn)擊的簡(jiǎn)單實(shí)例,有需要的朋友可以參考一下
復(fù)制代碼 代碼如下:

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>javascript模擬鼠標(biāo)自動(dòng)點(diǎn)擊鏈接</title>
<script type="text/javascript">
var mytime = 1000;
function myclick()
{
window.location.reload();
}
function autoclick(){
setTimeout("myclick()",mytime);
}
</script>
</head>
<body onload="autoclick()">
<a href="http://www.dbjr.com.cn" id="auto" target="_blank">你也可以手動(dòng)點(diǎn)擊</a>
<iframe width = "300" height = "300" src = "http://www.dbjr.com.cn" id="targetFrame"></iframe>
</body>
</html>

利用autoclick初始化頁面,再自動(dòng)刷新iframe.

相關(guān)文章

最新評(píng)論