Hi all.
The example code is here http://instaltech.com.pl/_drzewo/test.html. I'd
like to create a function which will have <li> object (id="myLI" in example
code) passed as a parameter and will recursively hide (css display: none)
all ULs nested below passed LI. No matter if such ULs are nested in LI
passed as a parameter or in its children or childer of its children etc.
Could anybody help me ? I've got problems with that recursivelity. Or maybe
the recursivelity is not he best solution for this ?
Best regards,
ABS
The example code is here http://instaltech.com.pl/_drzewo/test.html. I'd
like to create a function which will have <li> object (id="myLI" in example
code) passed as a parameter and will recursively hide (css display: none)
all ULs nested below passed LI. No matter if such ULs are nested in LI
passed as a parameter or in its children or childer of its children etc.
Could anybody help me ? I've got problems with that recursivelity. Or maybe
the recursivelity is not he best solution for this ?
Best regards,
ABS
Comment