JQuery Ajax Load Mobile Browser Back Functionality

Posted by Brad on Stack Overflow See other posts from Stack Overflow or by Brad
Published on 2010-03-17T02:24:18Z Indexed on 2010/03/17 2:31 UTC
Read the original article Hit count: 483

Currently working on a mobile site using the .load() technique:

$.ajaxSetup ({cache: false});                          
contentLoad();  
function contentLoad() {
        $('a.inline').click(function(){  
        var toLoad = $(this).attr('href')+' #content';
        $('#loading').show();
        $('#content').load(toLoad,'',showNewContent)  
        function showNewContent() {
            $('#loading').hide();
            $('#content').show();
            contentLoad();
        }
        return false;
    });
}

How would I be able to integrate back and forward button functionality into mobile browsers? Hope this is possible.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ajax