Last active
December 4, 2015 09:03
-
-
Save davidvandenbor/b6d48151bc04c893a1af to your computer and use it in GitHub Desktop.
HTML code insertion in pages using jQuery
This file contains hidden or 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
// this is how you can insert pieces of HTML code into pages using jQuery | |
var dynamic_html = "<div><span>Highlighted</span><span>Author</span></div>"; | |
document.getElementByID("container").innerHTML = dynamic_html; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment