spc
03-27-2003, 01:27 PM
I'm hiding and showing table rows using the following....
tbod.rows.item(nIndex).style.display = "none";
and,
tbod.rows.item(nIndex).style.display = "block";
This is working fine, but in NS6, when a row re-appears the value within a text box (which is part of the row) has reset itself.
i.e. If I alter the value in the text box, hide the row, and then show it again, the value has reset itself to the value before I did the initial alteration. I've put in an alert, and after 'display' is set to 'none', the text box value is blank.
Is this a bug with NS6, or am I doing something wrong?
tbod.rows.item(nIndex).style.display = "none";
and,
tbod.rows.item(nIndex).style.display = "block";
This is working fine, but in NS6, when a row re-appears the value within a text box (which is part of the row) has reset itself.
i.e. If I alter the value in the text box, hide the row, and then show it again, the value has reset itself to the value before I did the initial alteration. I've put in an alert, and after 'display' is set to 'none', the text box value is blank.
Is this a bug with NS6, or am I doing something wrong?