Skip to content

Instantly share code, notes, and snippets.

@a2chub
Created December 11, 2010 14:20
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 a2chub/737386 to your computer and use it in GitHub Desktop.
Save a2chub/737386 to your computer and use it in GitHub Desktop.
function makeTable(){
var tableCtrl = $('<table border=1></table>');
for (tate = 1; tate<7; tate++){
tableCtrl.append('<tr>');
for (yoko = 1; yoko<7; yoko++){
tableCtrl.append('<td>'+tate+yoko+'</td>');
}
tableCtrl.append('</tr>');
}
return tableCtrl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment