Navigate to the page twice (jquery mobile bug ??) -


i had page simple jquery mobile codes this.

$(document).on('pageinit', function() {    $.mobile.navigate('/home'); }); 

when load page. instead of redirect 'home' page, redirects 'home' page, redirect page, after redirects 'home' again , end here. how fix issue ? thanks. btw, if set timeout navigate function 1 second example, it'll work correctly. don't know why ?


Comments

Popular posts from this blog

PHP while loop dynamic rowspan -

timer - Java TimerTask cancel -

android - How to read a column value in parse.com without accessing an object or a pointer -