JQuery Toggle not working as it should

前端 未结 5 759
被撕碎了的回忆
被撕碎了的回忆 2021-01-23 17:08

I have a problem with JQuery Toggle.

I have the following code:

var $_ = jQuery;
$_(document).ready(function(){

$_(\"#sh-zone-buttons\").delegate(\"#sh-         


        
5条回答
  •  清歌不尽
    2021-01-23 17:13

    Why you are using toggle hide and show together

    only toggle is needed

    check this

    http://api.jquery.com/toggle/

提交回复
热议问题