If we call a javascript method myMethod() in a script tag which is before closing body, is it equivalent to calling myMethod() inside jQuery’s document.ready function ? If not, Why ?
If we call a javascript method myMethod() in a script tag which is before
Share
From here:
These events are independent of a location within the HTML tag, as other event still are going on even at the time of rendering
</body>.