Page lifecycle and events
I’ve been recently asked a question — what happens when a page being loaded? There is an extensive amount of materials online, and I will reference ones that I found useful at the bottom of this blog post.
Have you ever created event listeners in jQuery and discovered that sometimes they just didn’t work? One of the things jQuery beginners may fail to realize is that you can’t attach an event listener to an element which does not yet exist in your dynamically rendered html document.