J
Jochen Daum
Hi!
I have a dynamically generated page (PHP), which contains an Explorer
like view of items. I would like to hide multiple <tr>'s by name, but
I can't figure out how thats done.
I have this code to hide one element by id
if (document.getElementById(id)){
document.getElementById(id).style.position = 'relative';
document.getElementById(id).style.display = 'none';
}
Anyone has a cod sample for looping through multiple elements and hide
them?
Jochen
I have a dynamically generated page (PHP), which contains an Explorer
like view of items. I would like to hide multiple <tr>'s by name, but
I can't figure out how thats done.
I have this code to hide one element by id
if (document.getElementById(id)){
document.getElementById(id).style.position = 'relative';
document.getElementById(id).style.display = 'none';
}
Anyone has a cod sample for looping through multiple elements and hide
them?
Jochen