Python in HTML Application (HTA)

S

Salvatore

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
 
S

Salvatore

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 :
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top