JQ 使用toggle实现DIV的隐藏和显示时间:2023-03-09 20:37:07 $('.submenuA').toggle( function () { $(this).next('div').show(); }, function () { $(this).next('div').hide(); })