The functions hide, show, toggle work incorrectly when using jquery
Functions work exactly as described in the documentation:
the matched elements simultaneously
That is, animate the width, height and transparency of the element. And if the parameters are not transferred to the function, then there is no animation at all, the blocks are simply hidden / shown.
If you need to hide elements using only transparency, use the corresponding functions that you mention yourself: fadeIn() , fadeOut() , fadeToggle() .
Attempts to achieve the same behavior from other functions are meaningless. At least this meaning is not described in your question. If for some reason you cannot use these functions, then add your question, because He is not clear in the current wording.
fadeInthen use it. When you callhidewith no parameters, there is no animation, otherwise the following behavior is documented:animates the width, height, and opacity of the matched elements simultaneously. - teran