Guys, first of all I want to thank you for your replies.
@ , well commented line of code
- $.mobile.changePage(newPage );
was my copy/paste error, but thank you for pointing this out, I will correct this in my original post.
@$.mobile.navigate( newPage );
didn't help, i was getting following error in
jQuery Mobile 1.4.0-alpha.1.js file:
cleanedUrl.indexOf is not a function to be more
precise in function:
- squash: function( url, resolutionUrl ) {
- ...
- // Split the UI State keys off the href
- stateIndex = cleanedUrl.indexOf( this.uiStateKey );
....
}
For now I will stay on $.mobile.changePage ,
I had some problems with core function
- getAttribute: function( e, key, dns )
- {
- ....
- data = e.getAttribute( key );
- ..}
and I put
data = e.getAttribute( key ); in try..catch and it seems that now situation is better, I don't know how to solve this issue better, I am open for all
suggestions
.