Loading external content into div
I'm trying to load content from an external html file into a div.
Here is the code I'm using now:
<script type="text/javascript">
("#upcomingevents").load("upcomingevents.html", function(){
//function executed when load is done.
});
</script>
However, when the page loads, none of the content is loaded.
Any help would be greatly appreciated!
Matt