帶參數的定時器



<html >
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="x-ua-compatible" content="ie=7" />
    <title></title>
 <script>
    function bb(x,y)
    {
        alert(x);
     alert(y);
        setTimeout(function() {bb(x,y);},1000);
    }
    function aa()
    {
        bb( 'taiful',7 );
    }
 </script>
</head>
<body onload="as()">
</body>
</html>
本文來源於網絡小築 http://www.iwebtrados.com.cn/ , 原文地址:http://www.iwebtrados.com.cn/post/196.html


 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章