Its a file on the same domain/ip. Testing on a local server on my Mac. I'm using .load in jQuery to load the content in to a div. I'm trying to have it run
<script>
$(function() {
alert("Loadded the about page. Enjoy!");
});
</script>
It works if it load it from the html file but loading it via .load (ajax) it won't run.
<script>
$(function() {
alert("Loadded the about page. Enjoy!");
});
</script>
It works if it load it from the html file but loading it via .load (ajax) it won't run.