InnerHTML Question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mtek

    InnerHTML Question


    Hi,

    Say I have hidden a <DIVand I have another <DIVinside:

    <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!!
  • beedeebee

    #2
    Re: InnerHTML Question

    On May 9, 8:58 pm, Mtek <m...@mtekusa.c omwrote:
    Hi,
    >
    Say I have hidden a <DIVand I have another <DIVinside:
    >
    <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.

    Comment

    Working...