posted 16 years ago
Sumant,
I got my code working except for the drop down box I have. No matter what I select in that box, I get null back after I submit the form:
Here is part of my code that generates the drop down box:
var cell4 = row.insertCell(3);
var c4 = document.createElement('select');
var opt1 = document.createElement('option');
var t1 = document.createTextNode('High');
opt1.appendChild(t1);
opt1.setAttribute('value', 'high');
opt1.setAttribute('name', 'frequency');
c4.appendChild(opt1);
opt1 = document.createElement('option');
t1 = document.createTextNode('Med');
opt1.appendChild(t1);
opt1.setAttribute('value', 'med');
opt1.setAttribute('name', 'frequency');
c4.appendChild(opt1);
opt1 = document.createElement('option');
t1 = document.createTextNode('Low');
opt1.appendChild(t1);
opt1.setAttribute('value', 'low');
opt1.setAttribute('name', 'frequency');
c4.appendChild(opt1);
cell4.appendChild(c4);
Thanks,
Manon