I\'m trying to make it so when I click on a link in a HTML page, it dynamically loads the requested page into a div with jQuery.
How can I do that?
&
Try with this one:
$(document).ready(function(){ $('a').click(function(e){ e.preventDefault(); $("#content").load($(this).attr('href')); }); });
and make sure to call this library first: