Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 27, 2012 04:12 AM by dotnet_CH
Member
40 Points
259 Posts
Nov 23, 2012 10:13 AM|LINK
Hi,
$.mobile.showPageLoadingMsg() is not working in one page however it is working fine on other pages.
I guess order of the scripts are not in correct order.
Please review and forward the correct order of them.
<script src="../Javascript/jquery-1.8.2.min.js" type="text/javascript"></script>
<script src="../Javascript/jquery.mobile-1.2.0.min.js" type="text/javascript"></script> <script src="../Javascript/jquery.cookie.min.js" type="text/javascript"></script> <script src="../Javascript/emanager.mobile.common.js" type="text/javascript"></script> <script src="../Javascript/emanager.mobile.lang.js" type="text/javascript"></script>
<script src="../Assets/Javascript/emanager.mobile.filtering.js" type="text/javascript"></script> <script src="../Assets/Javascript/jquery.mobile-1.2.0.min.js" type="text/javascript"></script> <!--JQuery Calender script files--> <script src="../Javascript/jquery-1.5.1.js" type="text/javascript"></script> <script src="../Javascript/jquery.ui.core.js" type="text/javascript"></script> <script src="../Javascript/jquery.ui.datepicker.js" type="text/javascript"></script> <script src="../Javascript/jquery.ui.widget.js" type="text/javascript"></script> <link href="../CSS/demos.css" rel="stylesheet" type="text/css" /> <link href="../CSS/jquery-ui.css" rel="stylesheet" type="text/css" /> <!--/JQuery Calender script files -->
Any kind of hack or workout is welcomed as I am struck this point from long time.
Star
14871 Points
1529 Posts
Microsoft
Nov 26, 2012 01:25 AM|LINK
Hi dotnet_CH,
The method $.mobile.showPageLoadingMsg() is deprecated in the version of jQuery Mobile (1.2), the methods for showing you can use $.mobile.loading( 'show' ); instead.
Please refer: http://jquerymobile.com/test/docs/api/methods.html
Hope this helps, thanks.
Nov 26, 2012 11:03 AM|LINK
Real problem is with $.mobile
This object is coming as undefined
All-Star
36836 Points
5443 Posts
Nov 26, 2012 03:03 PM|LINK
why are you including jquery twice? this will cause all kinds of trouble.
Nov 27, 2012 04:12 AM|LINK
later one is required for the JQuery Calender I am using here. However this Calender is not working with earlier JQuery file
dotnet_CH
Member
40 Points
259 Posts
$.mobile.showPageLoadingMsg() is not working
Nov 23, 2012 10:13 AM|LINK
Hi,
$.mobile.showPageLoadingMsg() is not working in one page however it is working fine on other pages.
I guess order of the scripts are not in correct order.
Please review and forward the correct order of them.
<script src="../Javascript/jquery-1.8.2.min.js" type="text/javascript"></script>
<script src="../Javascript/jquery.mobile-1.2.0.min.js" type="text/javascript"></script>
<script src="../Javascript/jquery.cookie.min.js" type="text/javascript"></script>
<script src="../Javascript/emanager.mobile.common.js" type="text/javascript"></script>
<script src="../Javascript/emanager.mobile.lang.js" type="text/javascript"></script>
<script src="../Assets/Javascript/emanager.mobile.filtering.js" type="text/javascript"></script>
<script src="../Assets/Javascript/jquery.mobile-1.2.0.min.js" type="text/javascript"></script>
<!--JQuery Calender script files-->
<script src="../Javascript/jquery-1.5.1.js" type="text/javascript"></script>
<script src="../Javascript/jquery.ui.core.js" type="text/javascript"></script>
<script src="../Javascript/jquery.ui.datepicker.js" type="text/javascript"></script>
<script src="../Javascript/jquery.ui.widget.js" type="text/javascript"></script>
<link href="../CSS/demos.css" rel="stylesheet" type="text/css" />
<link href="../CSS/jquery-ui.css" rel="stylesheet" type="text/css" />
<!--/JQuery Calender script files -->
Any kind of hack or workout is welcomed as I am struck this point from long time.
Yanping Wang...
Star
14871 Points
1529 Posts
Microsoft
Re: $.mobile.showPageLoadingMsg() is not working
Nov 26, 2012 01:25 AM|LINK
Hi dotnet_CH,
The method $.mobile.showPageLoadingMsg() is deprecated in the version of jQuery Mobile (1.2), the methods for showing you can use $.mobile.loading( 'show' ); instead.
Please refer: http://jquerymobile.com/test/docs/api/methods.html
Hope this helps, thanks.
Feedback to us
Develop and promote your apps in Windows Store
dotnet_CH
Member
40 Points
259 Posts
Re: $.mobile.showPageLoadingMsg() is not working
Nov 26, 2012 11:03 AM|LINK
Real problem is with $.mobile
This object is coming as undefined
bruce (sqlwo...
All-Star
36836 Points
5443 Posts
Re: $.mobile.showPageLoadingMsg() is not working
Nov 26, 2012 03:03 PM|LINK
why are you including jquery twice? this will cause all kinds of trouble.
dotnet_CH
Member
40 Points
259 Posts
Re: $.mobile.showPageLoadingMsg() is not working
Nov 27, 2012 04:12 AM|LINK
later one is required for the JQuery Calender I am using here. However this Calender is not working with earlier JQuery file