Tag: visibility

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

Tagged with: , ,
Top