Toggle visibility between none and inline
R Arun Raj | Aug 13, 2008 | Comments 0
function toggle_it(itemID){
// Toggle visibility between none and inline
if ((document.getElementById(itemID).style.display == ‘none’))
{
document.getElementById(itemID).style.display = ‘inline’;
} else {
document.getElementById(itemID).style.display = ‘none’;
}
}
Filed Under: javascript • Programming
About the Author: me : yeay its me arun



