I am trying to implement panel functionality using jQuery Mobile 1.3.2. Here is my code:
<div data-role="page" id="homePage"> <section data-role="panel" class="row"> PANEL HERE.. </section> <section data-role="header" class="row"> <div class="large-12 columns"> <h3> Header.. </h3> </div> </section> <section data-role="content" class="row"> <div class="large-12 columns"> CONTENT.. </div> </section> <section data-role="footer" class="row"> <div class="large-12 columns"> FOOTER.. </div> </section> <script type="text/javascript"> $(function () { }()); </script> </div>
When I launch this browser, I get an error message:
$. data (...) undefined
I traced it to line 10330 jquery.mobile-1.3.2.js:
var $theme = $.data( page[0], "mobilePage" ).options.theme,
What am I missing?
source share