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>

原文地址:https://www.cnblogs.com/huifeideyu/p/3210072.html