Skip to main content

Bug Tracker

Side navigation

#14089 closed bug (notabug)

Opened July 02, 2013 02:15AM UTC

Closed July 02, 2013 01:03PM UTC

新版本不支持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 方法做了改变了?

Attachments (0)
Change History (1)

Changed July 02, 2013 01:03PM UTC by timmywil comment:1

resolution: → notabug
status: newclosed

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