jquery定时器

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src='../jquery.js'></script>
</head>
<body>
        <div class='load'></div>
    <script>
    function funA(){
                $('.load').append('<b>ok--</b>');
                setTimeout('funA()', 1000);
            }
    $(document).ready(function($){
        funA();
    });
    </script>
    
</body>
</html>

posted @ 2013-07-24 10:31  会飞的鱼001  阅读(249)  评论(0编辑  收藏  举报