注意,使用了Juqery,请加载。
<script src=libraries/jquery/jquery.min.js></script>
<script >
function phonePopUP(n)
{
alert(n);
}
function getext()
{
return "<?php echo $tel;?>";
}
popupStarted = true ;
popcountii = 0;
function popTry(){
popcountii++;
if(popupStarted)
{
ext="";
ext=getext();
str1="http://192.168.9.123/cc/pop2/"+ ext + "?aaa="+ Math.random() ;
$.getScript( str1 );
}
window.setTimeout("popTry()",3000);
}
popTry();
</script>