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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.