I have an application that is one web page with multiple panels that are displayed when selected by the user navigating through the app. When the app is transitioning from panel to panel I am setting the web page caption to indicate that the transition is occurring (some panels take a few seconds to build). In Firefox and Chrome the caption change happens immediately but in internet explorer the change is not displayed. If I add an alert right after the caption change it is shown in IE (this was for testing only, I won't be leaving the alert in).
Is there a way to force a refresh of the web page so that the caption change will show immediately ?
Refresh Main Page
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: Refresh Main Page
The short answer is no. JavaScript is a single thread environment. While it's busy doing work, the browser will do as it sees fit.
I'm a tiny bit concerned by the "some panels take a few seconds to build" comment though. What's happening that it takes so long to show a panel?
Regards
I'm a tiny bit concerned by the "some panels take a few seconds to build" comment though. What's happening that it takes so long to show a panel?
Regards