Return to Snippet

Revision: 18690
at October 6, 2009 09:57 by adamcoulombe


Initial Code
$(document).ready(function() {
    $("a").click(function(event) {
        // Prevent default click action if javascript is enabled
        event.preventDefault();
	//load the content of the new page into the content of the current page
	$("#content").load( $(this).attr("href") + " #content");
    })
});

Initial URL

                                

Initial Description

                                

Initial Title
Hijax Using jQuery - Search Friendly Ajax Links

Initial Tags
ajax, search, html, jquery, links

Initial Language
jQuery