I have a custom loader that appears on the screen while loading. When I finish I need this loader to disappear, so far so good. The problem is that the page is still doing some processes with jQuery and the loader div disappears, giving the effect it apparently loaded, but not really.
The browser does not appear loading, but behind it is still running some processes with jQuery. I want it when I actually load everything, be it links or codes, yes it would use the code I have below, but I'm using it and it's not 100% accurate:
$(window).on('load', function(){
//... Retiro a class da DIV do nosso Loader
});