Enhancement of dynamically generated elements.

Enhancement of dynamically generated elements.

Hi!
I am writing a web application that generates a lot of different elements, like div's, drop-down lists and such.
As far as I understand javascript and JQM, these runtime generated widgets are not styled as other parts of the page, because they were added after JQM code ran.

Is it possible to force JQM automated styling of the element?

Example: After clicking on the avatar, there should be animated menu, showing drop-down list with some options. These options are dynamically generated. There probably will be A LOT of avatars, so I don't want to clutter mobile devices with generating lists beforehand, I want them built dynamically. These generated lists have all native look, so the're ugly, and almost impossible to work with on mobile device. I'd like them to look like JQM selects. Is there any $.hidden.notShownInAnyTutorial.secret.notMentionedInTheDocs.makeListsPretty() function?