Thank for your reply, and I'm sorry for not tacking it on the other thread (I wasn't sure what was better: to kick and 550 day old thread or opening a new one).
Anyway, I've taken a look at your example (thank you for that), however, it isn't exactly matching with what I want to achieve. The idea is that the HTML-widget (or any other object) is dynamic, and not so much the contents of the HTML-widget (or any object).
The idea is that I get a value from the server (based on a 'draw'). And I have to spawn an # amount of objects based on the server-value. I don't know how much I have to spawn. In your example this would correlate to an # amount of HTML-widgets (instead of a specific content for the HTML-widget).