I am doing a loader indicator (image with some text next to it) while the page loads.
But im not having so much success with it.
right after the body tag i have this
Then right after that i have the js
document.getElementById('loading-indicator').innerHTML = 'Loading file...';
The issue is that it comes up and displays but it just sits there, it does not end and load the page.
Not sure what i am mssing here or maybe i dont have this in the right place in the file. Should it go on the very bottom of the file?