Hey there bubblers,
I’m taking my first foray into plugin development, but I’m running into an issue. From my plugin’s element’s initialize and update calls, I’m attempting to use jquery to reference another element on the page by id $("#ID"). Unfortunately, it seems like my plugin’s element is loaded before the other elements on the page, so the jquery call returns an empty object.
Is there a way to trigger a callback when the element in question is loaded so that I can access it? If not, is there a way to trigger a callback on page load?