|   | 1 |  initial version  | 
I tried to do a trick like:
html('<div id="mydiv"></div>')
And update it's content later:
import time
for i in range(10):
    time.sleep(0.5)
    html('<script>document.getElementById("mydiv").innerHTML = "Test % i"</script>' % i)
But this options cannot be used because of two things: it creates lots of empty newlines (after each html injection) and (I do not know why?) div block actually updates itself only after all calculation in current cell.
 Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
 
                
                Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.