I am trying to get continuous data using jquery

I am trying to get continuous data using jquery

  1. <script type="text/javascript" language="javascript">
  2.  $(function() {
  3.  var checkit = function(){
  4.           $.get( 
  5.              "test2.php",
  6.              { name: "Zara" },
  7.              function(data) {
  8.                 $('#stage').html(data);
  9.              }

  10.           );
  11.       }
  12.   
  13.  var nre = setInterval(checkit,1000);
  14. });

  15.    </script>
  16. </head>
  17. <body>
  18.    <div id="stage"></div>
  19.   
  20. </body>
  21. </html>

I am trying to get continuous data from test2.php using jquery but to no avail. Can anyone please help ?