03 May 2012
The jQuery toggle()
function is great for easily switching an element to hidden or not. Today I was working on something where I wanted to toggle with a fade out, and I stumbled across the fadeToggle() function. Simple and easy to use, typical of jQuery.