[thelist] Generating Form elements...
Eric Engelmann
eric.engelmann at geonetric.com
Tue Apr 9 10:23:01 CDT 2002
Neat idea. How about this:
function delUL(form) {
if (intCount>1) {
document.getElementById('ul' + intCount).style.display='none';
intCount--;
}
}
OR
function delUL(form) {
if (intCount>1) {
document.getElementById('ul' + intCount).removeNode(true);
intCount--;
}
}
The second is probably less browser compatible (tested IE 6/W2k and it works
fine) but is better, I'd think, structurally.
More information about the thelist
mailing list