ibm mobilefirst - IBM Worklight - $("#pagePort").load() not working in Windows Phone 8 -
i'm using $("#pageport").load()
navigating between pages in app, , it's working in android (both emulator & device) perfectly.
however, app can't change page when tried run windows phone 8's emulator.
i have done following in order make changepage functionality work in windows phone 8. suspect change make many things "suddenly" work well.
this change supposed part of next jquery mobile release @ point in time...
please try it:
open jquery.mobile-1.x.x.js , refactor code follows:
- var uri = url ? this.parseurl( url ) : location, - hash = this.parseurl( url || location.href ).hash; + var uri = this.parseurl( url || location.href ), + hash = uri.hash;
and:
- return uri.protocol + "//" + uri.host + uri.pathname + uri.search + hash; + return uri.protocol + uri.doubleslash + uri.host + uri.pathname + uri.search + hash;
Comments
Post a Comment