Changes whether the given element is shown or hidden.
The element to toggle.
Pass true to show the element or false to hide it.
true
false
If omitted, the element will be hidden if shown and shown if hidden.