I have created a web page and using load() function to load the pages on fixed div . But on clicking continuously on different link...the whole web page stops responding .
here is my code for loading page:
$( document ).ready( function() {
$('a').bind('click' , function( e ) {
e.preventDefault(); // prevent the browser from following the link
e.stopPropagation(); // prevent the browser from following the link
$( '#part1' ).load( $( this ).attr( 'href' ) );
});
});
I also want to change url when i click on the link for the above load() function .