note 16143 deleted from function.flush by sniper
| From: | sniper@php.net | Date: | Mon, 13 Oct 2003 01:36:45 +0000 |
| Subject: | note 16143 deleted from function.flush by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58469@lists.php.net to get a copy of this message | ||
Note Submitter: ah@artemis.dk
----
Example of flushing content inside a table with DHTML. Tested in MSIE6. Probably works in MSIE5 as
well.
<html>
<table border=1><tr><td id=fisk>
I am inside a table.
</td></tr></table>
<? flush(); sleep(2); ?>
<script>
document.all.fisk.innerHTML= document.all.fisk.innerHTML + "<br>I am still inside a
table...";
</script>
<? flush(); sleep(2); ?>
<script>
document.all.fisk.innerHTML= document.all.fisk.innerHTML + "<br>Hehhee....";
</script>
</html>