window.history.pushState
<p>This code is working only with jquery 1.6 how do I make it run as jquery 1.9?
`
    $(document).ready(function(){
        var content = $('#conteudo');</p>

<pre><code>    loading = new Image(); loading.src = 'http://wbruno.com.br/scripts/ico-loading.gif';
    $('#menu a').live('click', function( e ){
        e.preventDefault();
        content.html( '&lt;img src="http://wbruno.com.br/scripts/ico-loading.gif" /&gt;' );

        var href = $( this ).attr('href');
        $.ajax({
            url: href,
            success: function( response ){
                //for?ando o parser
                var response = $( '&lt;div&gt;'+response+'&lt;/div&gt;' );

                var data = response.find('#conteudo').html();

                //apenas atrasando a troca, para mostrarmos o loading
                window.setTimeout( function(){
                    content.fadeOut('slow', function(){
                        content.html( data ).fadeIn();

                        var title = response.find('title').text();
                        window.history.pushState( href, title, href );
                        document.title = title;
                    });
                }, 500 );
            }
        });

    });
});
&lt;/script&gt;`
</code></pre>
