日期:2014-05-16 浏览次数:20438 次
<script id='getd'></script>
<div id='iddiv'></div>
<textarea cols=160 rows=20 id='idtx'></textarea>
<script>
var E=/Mi/.test(navigator.appName),cn=0;;
function $(n){return E?document.all(n):document.getElementById(n);}
function sTm(d,t)
{
if(typeof d == 'function')
{
var v = Array.prototype.slice.call(arguments,2);
var f = (function(){d.apply(null,v);});
return setTimeout(f,t);
}
return setTimeout(d,t);
}
function ffc()
{
$("getd").src="./a.js";
sTm(ffc,3000);
$("iddiv").innerHTML=cn;cn++;
}
ffc();
</script>