Hi, let's say I have a simple javascript like so:
$(document).ready(function(){
if(login == "1") {
showExtMenu(); //Show the logged in user the extra menu links
} else {
showRegMenu(); //Show the user the regular menu
}
});
showExtMenu and showRegMenu populates an empty div with some html code. My question is, will the page render before the div is populated? I'm not interested in content that appears a few miliseconds after the page has been shown to the user.
Thanks for your time