J
Joey
I am going to use a collection of either div HTML server controls or
panel web server controls (renders as div on newer browsers) on a web
form. I need to be able to hide them with a client-side javascript
switch block, based upon what is selected in a drop-down list web
server control (renders as HTML select on newer browsers).
I have found that the following does not work for HTML div elements...
document.all['pnlMyPanel'].style.display='none';
....but it always worked for other controls like label/span, dropdown
list/select, etc...
Do you guys have any suggestions on how to handle this? I really
appreciate your help.
panel web server controls (renders as div on newer browsers) on a web
form. I need to be able to hide them with a client-side javascript
switch block, based upon what is selected in a drop-down list web
server control (renders as HTML select on newer browsers).
I have found that the following does not work for HTML div elements...
document.all['pnlMyPanel'].style.display='none';
....but it always worked for other controls like label/span, dropdown
list/select, etc...
Do you guys have any suggestions on how to handle this? I really
appreciate your help.