Hello everyone,
I have a problem with these,
I can set value to input text box but i can't set value to dropdown button.
I think my code is wrong in somewhere.
can you help me please?
Thanks and Regards
Yan Paing
I have a problem with these,
I can set value to input text box but i can't set value to dropdown button.
I think my code is wrong in somewhere.
can you help me please?
Code:
var cell8 = row.insertCell(7);
var element8 = document.createElement("input");
element8.setAttribute("size",5);
element8.setAttribute("value","somedata");
element8.type = "text";
cell8.appendChild(element8);
var cell9 = row.insertCell(8);
var element9 = document.createElement("select");
element9.setAttribute("name","test");
var element9text = document.put("option","aaa");
element9.appendChild(element9text);
cell9.appendChild(element9);
Yan Paing
Comment