[thelist] DOM, removing rows fun
Tom Dell'Aringa
pixelmech at yahoo.com
Mon Sep 30 18:52:00 CDT 2002
--- Ken Kogler <ken.kogler at curf.edu> wrote:
> > My guess is maybe to remove the rows at the end - except I'm not
> sure
> > how to store all the rows until the end and then delete those.
> Either
> > that or somehow I have to adjust my loop..any suggestions?
>
> What if you update numrows after the loop with the new nuber of
> rows?
>
> x = x + 1;
> numrows = table.getElementsByTagName("TR").length;
That gave me an endless loop...I really thought that would work!
Tom
=====
var me = tom.pixelmech.webDeveloper();
http://www.pixelmech.com/
http://www.maccaws.com/
[Making A Commercial Case for Adopting Web Standards]
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
More information about the thelist
mailing list