× Got a CSS, HTML or webdesign question? Ask it here!

jQuery Mobile

1 year 2 months ago #17070 by Ellis
For any of you who dable in scripting with jQuery to customize your site. jQuery Mobile will not work properly with Deco if ajax loading is enable. When you click off the first loaded page it runs into and error and does not render the page. To get around this you must turn off the ajax load. Here is a short snip that must be executed prior to loading jQ mobile.

John

<script>
jQuery(document).on("mobileinit", function(){
jQuery.mobile.ajaxEnabled=false;
jQuery.mobile.loadingMessage = false;
});
</script>

Please Log in or Create an account to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum