A
ali
Hello every one
i need you help regarding div hide and show. i am having a link like
<a href="#" onClick="expandWin()">show/hide </a>
<div id=showHide>
</div>
within div i have lots of form tags and div elements say n. The problem
here is i try to hide showHide by calling function
function hideWin()
{
document.getElementById("showHide").style.visibility="hidden";
}
but divs within above div don't get hide.
one way is to loop through all divs and made their visibility="hidden"
but it can't work for me as i have to hide a particular portion of web
page and no of divs within that protion is unknown. and making all divs
hidden by getElementByID(DivId) is impractial and overhead
any solution..
i need you help regarding div hide and show. i am having a link like
<a href="#" onClick="expandWin()">show/hide </a>
<div id=showHide>
</div>
within div i have lots of form tags and div elements say n. The problem
here is i try to hide showHide by calling function
function hideWin()
{
document.getElementById("showHide").style.visibility="hidden";
}
but divs within above div don't get hide.
one way is to loop through all divs and made their visibility="hidden"
but it can't work for me as i have to hide a particular portion of web
page and no of divs within that protion is unknown. and making all divs
hidden by getElementByID(DivId) is impractial and overhead
any solution..