Created
October 5, 2016 12:01
-
-
Save JellyWX/829e32ef3c043eb661d86deae3747235 to your computer and use it in GitHub Desktop.
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
/*A script using jQuery which creates a function which can be used to fill out a div with another html file*/ | |
var root = 'enter the root of your html files here. leave empty for none.' | |
function fillText(a){ | |
$('#text').load(root + a + '.html'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment