I have a php file sitting in a directory. The file has some content to it that is just html. All I would like to do is to use JQuery to get the file contents and place then in a div on my page.
$(".page-intro").load("barware-title.php");
I have tried to use above code to load the page, but nothing happens.
Here is my Div
<div id="page-intro"></div>
I am at a loss for why this isn’t working.
Thanks for the help.
You need to address by id (#), not class (.)