Toggle visibility between none and inline

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’;
}
}

About

me : yeay its me arun

Tagged with: , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.