jQuery toggle连续点击事件报错 "Uncaught TypeError: undefined is not a function"






<br> $(document).ready(function(){<br> $(&#39;#bd&#39;).toggle(<br> function(){<br> $(&quot;body&quot;).css(&quot;background-color&quot;,&quot;aliceblue&quot;);<br> },<br> function(){<br> $(&quot;body&quot;).css(&quot;background-color&quot;,&quot;aquamarine&quot;);<br> },<br> function(){<br> $(&quot;body&quot;).css(&quot;background-color&quot;,&quot;bisque&quot;);<br> }<br> );<br> })<br>




emmm,看了半天,想看看分析下。有心无力呀

注:下次粘代码的时候检查下,这完全看不懂是啥东西呀。

img