带参数的定时器


 


<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>

 

 

posted on 2009-09-26 19:46  网络小筑  阅读(173)  评论(0编辑  收藏  举报

导航