Skip to content

Instantly share code, notes, and snippets.

@purplecabbage
Created January 16, 2012 23:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save purplecabbage/1623509 to your computer and use it in GitHub Desktop.
Save purplecabbage/1623509 to your computer and use it in GitHub Desktop.
NoFramework
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