Return to Snippet

Revision: 39906
at January 22, 2011 11:50 by joshvermaire


Initial Code
<script type="text/javascript" charset="utf-8">
jQuery(document).ready(function(){

     jQuery('#postPagination a').live('click', function(e){
        e.preventDefault();
        var link = jQuery(this).attr('href');
        jQuery('#content').html('Loading...');
        jQuery('#content').load(link+' #contentInner');
 
    });
 
});
</script>

Initial URL
http://jvcustomdesigns.com

Initial Description
You may need to change the IDs around.

Initial Title
WordPress AJAX Pagination using jQuery

Initial Tags
ajax, wordpress, jquery

Initial Language
JavaScript