Master Mobile Web Apps With Jquery Mobile.pdf Review
| Problem | Solution from the PDF | | :--- | :--- | | | Because of event propagation, always use $(document).on('click', '.selector', function(e) e.stopPropagation(); ); | | Forms not submitting | jQuery Mobile AJAX loads pages by default. Add data-ajax="false" to your <form> tag to revert to standard HTTP POST. | | Custom JavaScript not running after page change | Bind to pagecontainerload or use $(document).on('pageinit', '#new-page', function() ...); instead of $(document).ready() . |
Because jQuery Mobile uses CSS media queries and flexible grids, your app will automatically adjust to an iPhone SE, a Pixel tablet, or a desktop browser. That is the power you master by studying the PDF. Master Mobile Web Apps with jQuery Mobile.pdf