When handling the jQuery Mobile "mobileinit" event, you can turn off the display of the error message. To handle the "mobileinit" event, create a custom- script.js file as follows:
$(document).bind("mobileinit", function(){ $.extend( $.mobile , { pageLoadErrorMessage: "" }); alert("mobileinit received"); });
Then specify the file BEFORE the jQuery Mobile script tag:
<script type='text/javascript' src='libs/jquery-1.8.3.js'></script> <script type='text/javascript' src="js/custom-script.js"></script> <script type='text/javascript' src="libs/jquery.mobile-1.2.0.min.js"></script>
This is all that is required to suppress a message.
source share