I\'m trying to avoid using innerHTML because it causes my browser to crash, probably due to the 250 milliseconds refresh rate.
innerHTML
Anyway, I would rather ha
The best way is to set the display none for hidden and block for visible
//the element is the div you want to hide or display
element.style.display = (element.style.display == "block") ? "none": "block";