InnerHTML Question

M

Mtek

Hi,

Say I have hidden a <DIV> and I have another <DIV> inside:

<DIV id='formdiv'>
<DIV id='custname'>
..
..
..


And I use innerhtml to put something into the DIV 'custname', if DIV
'formdiv' is hidden, will the content of DIV 'custdiv' remain hidden
until I make the DIV 'formdiv' visible???

Thank you!!
 
B

beedeebee

Hi,

Say I have hidden a <DIV> and I have another <DIV> inside:

<DIV id='formdiv'>
   <DIV id='custname'>
.
.
.

And I use innerhtml to put something into the DIV 'custname', if DIV
'formdiv' is hidden, will the content of DIV 'custdiv' remain hidden
until I make the DIV 'formdiv' visible???

Thank you!!


Did you mean...?
" will the content of DIV '**custname**' remain hidden until I make
the DIV 'formdiv' visible???"

If so, then Yes, everything inside of a div will be hidden if its
parent div is hidden.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,818
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top