<html> <head> <script language="JavaScript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script> <script> function creTable() { for(i=1;i<=10;i++) { $('#myTable').append('<tr></tr>'); for(j=1;j<=10;j++) { $('#myTable > tbody > tr:last').append('<td>'+i+'x'+j+'</td>'); } } } </script> </head> <body> <table id="myTable" border="1"> </table> <input type="button" onclick="creTable();" value="Создать" /> </body> </html>