I have a simple call to replace the contents of a <div>
with those of another HTML file using the .load()
function:
$('#content').show().load('01.html');
01.html is in the same folder as this page. But the function isn't being executed. Is there a problem with my code? Or is it that the .load()
function won't work until it's being served?
In the latter case, what's a good way to go about testing it?