Skip to content

Instantly share code, notes, and snippets.

@juliocesar
Created February 4, 2009 02:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save juliocesar/57888 to your computer and use it in GitHub Desktop.
Save juliocesar/57888 to your computer and use it in GitHub Desktop.
var table = $('<table />').attr('id', 'host-' + host.host).
.append('<thead />')
.find('thead')
.append('<tr />')
.find('tr')
.append('<th class="name">File name</th>')
.append('<th class="size">Size</th>')
.parent()
.parent()
.append('<tfoot />')
.append('<tbody />')
.appendTo('#wrap')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment