This is my first time trying this.
I have the following code in the head of an ajax.html:
$(document).ready(function(){
$( "#result" ).load( "/loaded.html" );
});
Then in the same directory, I have a second page, loaded.html:
<div id="result">Hello!</div>
However #result
is not loaded. I have double checked jQuery, and it's all plugged in.
Would anyone know what is going wrong?