jQuery.mobile.getInheritedTheme( el, defaultTheme )Returns: Stringversion deprecated: 1.4.0
Description: Retrieves the theme of the nearest parent that has a theme assigned.
- 
jQuery.mobile.getInheritedTheme( el, defaultTheme )- 
elType: jQueryA jQuery collection object containing an element for which the inherited theme is to be determined.
- 
defaultThemeType: StringThe color scheme (swatch) to apply if no theme is found on any of the parents. It accepts a single letter from a-z that maps to the swatches included in your theme.Possible values: swatch letter (a-z). 
 
- 
This method is no longer useful, since theme inheritance is implemented entirely in CSS as of jQuery Mobile 1.4.0.
Example:
Retrieve the inherited theme for an element
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |  |