如果我想實現(xiàn)隱藏再出現(xiàn)不用show
? ? ? ? $("button:first").click(function() {
? ? ? ? ? ? $("#a1").hide({duration: 3000,
? ? ? ? ? ? ? ? ? ? ? ? ? ?complete: fuction() {$("#a1").css(display:"block") ?})
? ? ? ? });
? ? ? ? $("button:first").click(function() {
? ? ? ? ? ? $("#a1").hide({duration: 3000,
? ? ? ? ? ? ? ? ? ? ? ? ? ?complete: fuction() {$("#a1").css(display:"block") ?})
? ? ? ? });
2016-09-04
舉報
2016-09-07
不是不可以,是你的代碼寫錯了,要么少了),要么又少了}。
$("button:first").click(function() {
??????????? $("#a1").hide(
??????????????? {
??????????????????? duration: 3000,
??????????????????? complete: function() {
??????????????????????? $("#a1").css("display","block");
??????????????????? }
??????????????? }
??????????? )
??????? });
2016-09-04
這個為什么不可以 求大神教一下 感激不盡