[thelist] Generating Form elements...
James Q. Stansfield
jqs at iridani.net
Tue Apr 9 10:31:00 CDT 2002
Thanks Eric, this second option is perfect. I'll try it out on a few
browsers and let you know about it's compatibility.
Cheers, James
----- Original Message -----
From: "Eric Engelmann" <eric.engelmann at geonetric.com>
To: <thelist at lists.evolt.org>
Sent: Tuesday, April 09, 2002 11:22 AM
Subject: RE: [thelist] Generating Form elements...
> 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.
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>
More information about the thelist
mailing list