im experimenting locally with jQuery and its load() function. I have this JS code:
$(document).ready(function(){
$("img.menu").click(function(){
$("div#content").load("about.html");
});
});
It references to
<td><img id="toolbar" class="menu" src="toolbar/about.png" /></td>
and its supposed to load the about.html file that its on the same folder:
<p>some text...</p>
And it should get loaded at:
<div id="content">
<p>Content</p>
</div>
Im following this tutorial
I dont know what im doing wrong but it doesnt get displayed. Im using jQuery-1.8.0 btw EDIT: Im following this code model too, but with html files like the other tutorial