$( ".class" ).click( function () {
$( this ).load( "/path/to/file.html" );
} );
In this example, this
is referring to the .class
div and would load the contents of file.html
into said div when you clicked on it.
So click on .class
, file.html
gets loaded into it.