I need to add event listeners to html elements with a data-tooltip
attribute.
For elements that are present at page-load, I can do this in a $(document.ready())
block.
Now if I dynamically add such an element to the page at "run-time", I have to manually add those event listeners to the element.
Is there a way I can listen to something like a document-write event (if such a thing exists) and add the event listeners from there ?