Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function(e) {
- /* $('<table>', {'id' : 'bs'}).insertAfter($('h1'));
- for(i=0;i<11;i++){
- $('#bs').append($('<tr>',{'id' : 'r' + i}));
- for(j=0;j<11;j++){
- $('r'+i).append($('<td>',{'id' : 'r'+ i + 'c' + j}));
- }
- } */
- $('<table>', {'id':'bs'}).insertAfter($('h1') ) ;
- for (i = 0 ; i < 11 ; i++) {
- $('#bs').append($('<tr>', {'id' : 'r'+i})) ;
- for (j = 0 ; j < 11 ; j++) {
- $('#r'+i).append($('<td>', {'id' : 'r'+i+'c'+j}))
- }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement