jquery/jquery-mobile — Issue #3771: Can't set 'data-collapsed' and 'data-theme' dynamically
Author: phillpafford
Created: 2012-03-08 18:39:41+00:00
State: open

jQM Docs say I should be able to update the layout on a collapsible

- http://jquerymobile.com/test/docs/api/events.html
- http://jquerymobile.com/test/docs/content/content-collapsible.html

Trying to update the theme and collapsed data attributes and refreshing/updating the collapsible is not working

Example:

- http://jsfiddle.net/ayEWB/3/

Related:

- http://stackoverflow.com/questions/9620512/how-to-dynamically-set-the-data-collapsed-and-data-theme-dynamically-in-jqu