Hello friends,
I got a problem while trying to hide and display the content within the <div> tag. Can anyone tell me how to do it. I tried with the following code its not working. i am using IE only and i want to work in IE only. Actually while loading the page the content should be in hide state.
function doInit() {
alert( "DoInit 1" );
element = document.getElementById('<divName>');
element.style.display = 'none';
}
and
funtion doInit() {
document.getElementById(<divName>).style.visibility = 'hidden';
}