M
Mark
Hi - when I add (dynamically) a row to a table, which includes a
checkbox, I want the value of the checkbox to be posted along with the
other controls already on the form when the form is submitted.
I can get this to work no problem on IE6, but in NN7, although the
checkbox is added to my screen, when posted (submit on form), the
checkbox is ignored. The checkbox is added within the form.
Any ideas?
function addRowaddFact (cb_strval) {
var table;
table = document.getElementById('tbladdFact');
if (table && table.insertRow) {
var row = table.insertRow(table.rows.length);
var cell = row.insertCell(0);
cell.innerHTML = '<input checked
type="checkbox" name="cbaddFact" value="' + cb_strval +
'"\/>'+cb_strval;
}
}
checkbox, I want the value of the checkbox to be posted along with the
other controls already on the form when the form is submitted.
I can get this to work no problem on IE6, but in NN7, although the
checkbox is added to my screen, when posted (submit on form), the
checkbox is ignored. The checkbox is added within the form.
Any ideas?
function addRowaddFact (cb_strval) {
var table;
table = document.getElementById('tbladdFact');
if (table && table.insertRow) {
var row = table.insertRow(table.rows.length);
var cell = row.insertCell(0);
cell.innerHTML = '<input checked
type="checkbox" name="cbaddFact" value="' + cb_strval +
'"\/>'+cb_strval;
}
}