Dear Sir,

These codes work fine

<li><a href="" onclick="document.getElementById('div2').style.display='none';return false">Hide Div 2</a></li>

If use these line, then it do not work

<li><a href="" onclick="document.getElementById('div2','div3','div4','div5').style.display='none';return false">Hide Div 2</a></li>

I used more than one div in it.

Complete discussin is here ... w-Hide-Div

Please help

nothing understood

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.