Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Hiding the label of a select menu...
- J. B. Moreno
July 15, 2005, 9:45 pm
rate this thread
Hope this is the right group....
I want to hide the 2nd menu when it's empty, which I'm currently doing
elSel = document.getElementById("menuID");
This works just fine, but then I thought I'd add a label to the menu.
Hoping that it'd disappear along with the select menu when it was hidden,
but no joy.
Now, obviously I could give the Label an ID of it's own and then get and
hide that as well, but is there a way to go directly from a form item to
it's assoicated label?
(I'm mainly doing all of this in order to learn, so any answer will be