Created
January 16, 2012 23:09
-
-
Save purplecabbage/1623509 to your computer and use it in GitHub Desktop.
NoFramework
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
document.getElementById("container").innerHTML=""; | |
var con = document.getElementById("container"); | |
var ul = "<ul>"; | |
var i; | |
for (i = 0; i < 100; i++) { | |
var li = "<li>hello world NoFramework</li>"; | |
ul += li; | |
} | |
ul += "</ul>"; | |
con.innerHTML = ul; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment