Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Which of these 3 is best practice? Re: Which of these 3 is best practice?

#138526
TheDoc
Member

You could do something like this: http://codepen.io/ggilmore/pen/a51ff3b8bd05a974c8b834f63f90e346

Utilizing `visibility: hidden;`. I prefer avoiding manipulating CSS directly from jQuery. Instead, I prefer toggling class names.