Python in HTML Application (HTA)

Salvatore salvatore.didio at gmail.com
Sat Oct 13 04:41:16 EDT 2007


Hello,

I encounter a display problem in one of my script

...
...
def setValue(divid,data):
     elt = document.getElementById(divid)
     elt.innerHTML = data

def infoSystem():
     setValue("info","Please Wait")      #update div "info"
     c = os.popen(cmdDisk%Server).read()
     setValue('tabcentre',c)
...
...

When I call 'infoSystem', the 'info' div
is only updated at the end of the 'infoSystem' call.
Did someone have an explication of that behavior ?

Regards

Salvatore






More information about the Python-list mailing list