Bug Tracker

Opened 7 years ago

Closed 7 years ago

#14089 closed bug (notabug)

新版本不支持toggle!

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.1
Keywords: Cc:
Blocked by: Blocking:

Description

$("button").toggle(

function(){

$("body").css("background-color","green");},

function(){

$("body").css("background-color","red");},

function(){

$("body").css("background-color","yellow");

}); 同样的方法,1.6.4支持,1.9.1以上的版本不支持,难道说新版本toggle 方法做了改变了?

Change History (1)

comment:1 Changed 7 years ago by timmywil

Resolution: notabug
Status: newclosed

Please ask for help on the forums, stackoverflow, or in the #jquery irc channel.

Note: See TracTickets for help on using tickets.