• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

JavaScript question

Argo

Lifer
I have the following js:

someframe.location = some_url; // The page is pretty small but the server takes a long time to return it
SomeFunction(); // This funciton takes a long time to execute


For some reason JS first executes the function and only then starts loading the page. For obvious reasons, this takes a long time, when it shouldn't. What i want it to do is send the request to the server and then execute the function while the server is replying. So the question is, how can I force JS to start loading the page immediately?
 
Back
Top