Pageshow not triggered after changepage

后端 未结 1 1162
眼角桃花
眼角桃花 2021-01-07 02:50

I am using jQuery Mobile and I would like to redirect the browser to another page, after the user clicked on a button on the home. To do this I wrote:

$.mobi         


        
1条回答
  •  囚心锁ツ
    2021-01-07 03:03

    Solution

    Solution is simple, move script block inside a page div. In your case script block is discarded. Basically change it like this:

    From :

    
        

    Aggregator

    To :

    
        

    Aggregator

    Example:

    index.html

    
    
        
            jQM Complex Demo
            
            
                  
                
            
        
        
            

    First Page

    Next

    album-search-results.html

    
    
    
        
        
        
        
    
        
            

    Aggregator

    0 讨论(0)
提交回复
热议问题