jquerymobile:如何在一个元素上中和JQM?

jquerymobile:如何在一个元素上中和JQM?,jquery,css,jquery-mobile,Jquery,Css,Jquery Mobile,给定我的html结构为: <body> <div data-role="page" data-theme="b"> <header>My header</header> <div data-role="content"> My page-specific content </div> <footer>My footer</footer> </div>

给定我的html结构为:

<body>
  <div data-role="page" data-theme="b">
  <header>My header</header>
    <div data-role="content">
    My page-specific content
    </div>
  <footer>My footer</footer>
  </div><!-- page end-->
</body><!-- body end-->

我的头球
我的页面特定内容
我的页脚
我希望JQM.js(和JQM.css)在页眉、页脚上工作,但不在页面上工作

.1。如何在单个
元素上中和JQM.js?


可选:2。如果可能,如何在同一元素上中和JQM.css?

data role=“content”
更改为
data role=“none”
可能与注意事项有关:它不是继承的。子元素不会被中和。