Why does the toggle method in jQuery v1.9.0 fail?

<div id="switcher" class="switcher">
  <h3>Style Switcher</h3>
  <button id="switcher-default">
    Default
  </button>
  <button id="switcher-narrow">
    Narrow Column
  </button>
  <button id="switcher-large">
    Large Print
  </button>
</div>

css Code

.hidden {
    display: none;
}

jQuery Code:

$("-sharpswitcher h3").toggle(function() {
    $("-sharpswitcher button").addClass("hidden");
},function() {
    $("-sharpswitcher button").removeClass("hidden");
});

is that the h3 tag is hidden directly after loading, is the 1.9version of the toggle method no longer available?

Mar.04,2021
The toggle of

1.9 is indeed different, toggle ([speed], [easing], [fn]). It is only used for show-hide toggle animation;

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3f27f-2bcba.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3f27f-2bcba.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?