hello all
i did this table useing
createElement() ;
i am trying to insert html code to the <td> to put img and links
but so far no luck
any one have an idea on how it shouled b done?
the second qustion is how i can desing the hieght of the td
here is snippet
also my last qustion is how can i see the code that been generate?
i see that the table is there but i cant see the html codeof it soi cant copy paste it
thanks guys
i did this table useing
createElement() ;
i am trying to insert html code to the <td> to put img and links
but so far no luck
any one have an idea on how it shouled b done?
the second qustion is how i can desing the hieght of the td
here is snippet
Code:
var cell = document.createElement("td");
var cellText = document.createTextNode(only text ids display, no innerHTML?);
cell.setAttribute("aligen","center"); //dosent work
cell.appendChild(cellText);
row.appendChild(cell);
i see that the table is there but i cant see the html codeof it soi cant copy paste it
thanks guys
Comment