I am trying use jQuery to poll dynamic DOM nodes, created outside of the jQuery object (with Google Maps API methods). I can do this easily by, for example, binding delegate() to a click event. However, I need to poll the DOM, without any additional user actions (user should not have to click), as part of a function that runs onload. Does anyone know of a way to accomplish this?
Edit: I'm using the Maps API to write add a bunch of markers at load. I can do this without any problems, but I need to loop through the HTML the Maps API writes with jQuery and append child nodes. delegate() and live() can this, but the only way I know how to fire delegate() or live() is by binding it to an user event. I'm trying to fire off something like jQuery's delegate with each iteration of my Maps API function, without the user doing anything.