2012-03-24 2 views

Antwort

1

Tun Sie es einfach.

var td = document.createElement('td'); 

td.setAttribute('colspan', '4'); 

var textarea = document.createElement('textarea'); 

textarea.setAttribute('rows', '4'); 
textarea.setAttribute('cols', '40'); 

td.appendChild(textarea);