I was reading a lot of things about comet programming but I'm thinking if this implementation could be possible.

this is my jscript

```
$.ajax({
   url:"mypage.php",
   onProgress:{function(rsp){ //i know there is no such function like this
     $("#mydiv").append(rsp+"<br>");
   }}
});

```

and this is my mypage.php

```
<?php
    while(true){
    ob_start();
      echo time();
    ob_flush();
    }
    ?>

```

now what i want is my ajax request would fetch results during progress. Is this possible?