I have a separate file called lastrun.html that simply contains a datestamp. I want that to display in my index.html in the right spot.
I am using
$(document).ready(function() {
$("#lastrun").load("lastrun.html");
});
and then in my html body section I have:
<p>Last run on <div id="lastrun" style="display:inline"></div></p>
The expectation was:
Last run on June 05 2017, but instead it does:
Last run
June 05 2017
How do I get the date to appaer on the Last run line?