The easiest way to achieve this is to call the collapsible() method on the dynamically created divs:
$('div[data-role=collapsible]').collapsible();
source : http://forum.jquery.com/topic/dynamically-add-collapsible-div
More Related Contents:
- jQuery.ajax() method’s async option deprecated, what now?
- jQuery click event not working in mobile browsers
- Mobile site – force landscape only / no auto-rotate
- Mobile Safari $(window).height() URL bar discrepancy
- How to print the letters Loading… one by one in jquery or php? [closed]
- Stop jQuery .load response from being cached
- Sorting JSON by values
- Dialog box runs for 1 sec and disappears?
- Full path from file input using jQuery
- jQuery: serialize() form and other parameters
- Which selector do I need to select an option by its text?
- Is there a native jQuery function to switch elements?
- Jquery Ajax Loading image
- jquery sort list based on data attribute value
- Load content of a div on another page
- jQuery .on does not work but .live does
- Is it possible to use jQuery to get the width of an element in percent or pixels, based on what the developer specified with CSS?
- jQuery, get html of a whole element [duplicate]
- jQuery Ajax Request inside Ajax Request
- jqGrid does not populate with data
- Including More Than One jQuery Versions
- xmlHttp.getResponseHeader + Not working for CORS
- What’s the difference between class and id in jQuery?
- How do you select elements based on their style?
- How to include jQuery in a Gatsby.js project?
- Disable button in jQuery
- Why does my logic, using closest, not work?
- Change the body background image with fade effect in jquery
- Efficiently Detect When Sibling Elements Overlap
- Send expanded TreeGrid Nodes in cookie