Python in HTML Application (HTA)

Salvatore salvatore.didio at gmail.com
Sat Oct 13 04:55:59 EDT 2007


In fact, whatever I do in "infoSystem" (modifiying style attributes of 
an object, change cursor appearance...), changes are only reflected
at the end of the function call ...


Salvatore a écrit :
> 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