I'm trying to toggle the visibility of a form element using jQuery. I have a flipswitch widget and am setting it's class with either the
I couldn't seem to solve this problem, but wrapping the element in another
<div> and then hiding that new
<div> solved the problem.