Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript JQuery Load Re: JQuery Load

#72854
yoboubdir
Member

You have some syntax errors, try this


$(document).ready( function() {
$('a').click( function(e) {
$('#content').load( $(this).attr('id').replace('/#//') + '.php' );
e.preventDefault();
} );
} );