Created
June 30, 2015 22:17
-
-
Save arthurpizza/83e0a95c6a4c3363a2c9 to your computer and use it in GitHub Desktop.
Include with jQuery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p> This is my include file </p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script> | |
<script> | |
$(function(){ | |
$("#includedContent").load("add.html"); | |
}); | |
</script> | |
</head> | |
<body> | |
<div id="includedContent"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment