jQuery Mobile - how to force that page recreation - pagebeforecreate event
        Posted  
        
            by 
                NewUser
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by NewUser
        
        
        
        Published on 2012-11-26T16:42:11Z
        Indexed on 
            2012/11/26
            17:04 UTC
        
        
        Read the original article
        Hit count: 326
        
I have a small jQuery mobile site.
- it's all single 
.htmlfile - it's has some edit functionality (view, edit, save)
 - all works with 
ajax/json/web service 
Most of my pages are using data from web service, via AJAX & JSON, so I am using the following a lot:
$(document).on( 'pagebeforecreate', '#monday', function() {
// do some stuff on before create, load data with AJAX
});
Now, how do I FORCE that page recreation (pagebeforecreate event) so the AJAX inside is run again (get the latest data from server)?
© Stack Overflow or respective owner