title: Javascript equivalent to $.on
body: <p>As somebody who (<strong>unfortunately</strong>) learned more of <code>jQuery</code> than <em>raw</em> <code>javascript</code> I am just now taking the time to replace all of my code with raw <code>javascript</code>. No, it's not needed, but it's an easier way for me to learn. A problem I am facing is converting all of my <code>$(document).on</code> with raw <code>javascript</code>. My website is a "single-page application" and most of my actual <code>HTML</code> is in different files which are called via <code>Ajax</code> requests. So, my question is, how would I look for an <code>event</code> fired from dynamically loaded content? I am assuming I would have to add an <code>onclick</code> event to them, but how is it that <code>jQuery</code> does it without needing an <code>onclick</code> <code>event</code>?</p>