Possible Duplicate:
Dynamically adding collapsible elements
I am dynamically creating a Collapsible set and adding it to the page using $('#myID').html(htmlcode)
. The styling is not being applied to the page. How can I get jQUery mobile to apply it styling?
(I am using $.get()
to query a web service.The content that returned I am looping through to create the markup)