note 16143 added to function.flush
| From: | ah at artemis dot dk | Date: | Wed, 17 Oct 2001 20:10:24 +0000 |
| Subject: | note 16143 added to function.flush | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-19064@lists.php.net to get a copy of this message | ||
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>
--
http://www.php.net/manual/en/function.flush.php
http://master.php.net/manage/user-notes.php?action=edit+16143
http://master.php.net/manage/user-notes.php?action=delete+16143
http://master.php.net/manage/user-notes.php?action=reject+16143