Click to See Complete Forum and Search --> : diable tags


tiger66
07-05-2003, 05:41 PM
Hi
I am just wondering if I need to disable a portion of my form, is it possible to use a for loop? It's hard to determine the starting and ending position of the tags in a form, since some of the tags are dynamiclly outputted by innerHTML. I am thinking about using the name of starting and ending tags to write a for loop, but I am not quite sure how.
Is it easier just manually diable the tag one by one?

Thanks

A1ien51
07-06-2003, 12:46 AM
you can use the form element array and loop through that, are name you elements in a number order, or have them in a array


and then use the for loop