I want to generate html layout with areas (divs, spans) that can be shown/hidden conditionally. These areas are hidden by default.
If I call .hide() method with jque
Why not do just this?:
// Hide HTML element ASAP $('html').hide(); // DOM-ready function $(function () { // Do stuff with the DOM, if needed // ... // Show HTML element $('html').show(); }
It seems to work fine!
Regards.