javascript - Internet Explorer: how do I refresh html layout programmatically? -



javascript - Internet Explorer: how do I refresh html layout programmatically? -

i have active-x component on html page long-run method (process) fires callback javascript.

activex.process( function (message) { // alert(message); --> message box appears, ok $("#panel").text(message); // panel doesn't refreshed! } } <div id="panel" > active-x messages should here! </div>

callbacks fire ok (i can see messagebox'es) panel doesn't refreshed until process method returns.

may forcefulness panel refreshed or shall fire callbacks thread?

thank in advance!

if you're calling activex.process() javascript, browser blocks until js function returns.

try create new thread in process() , homecoming immediately. should "unlock" browser. ie's javascript engine should synchronize callback code when invoke new thread.

javascript internet-explorer activex

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -