Create component at runtime

i have seen the sample where I can create a DIV at runtime.
How do I create a jqWidget at runtime, say, a button?
Or how the code would be for a common label?
In my code, a json is downloaded and depending on the number of items returned, I need to spawn (create at runtime) a certain number of items.



This blog post should get you started:

I get it, thanks.Will create divs with the corresponding content.