jQuery 1.4.2 - is $(“#foo”).hide(“normal”) broken or am I crazy?

前端 未结 4 644
情歌与酒
情歌与酒 2021-01-12 18:59

Does anyone know why .hide(\"normal\") does not seem to be working in jQuery 1.4.2? Is it a bug, has it been removed or am I just crazy? I\'ve managed to duplic

4条回答
  •  悲哀的现实
    2021-01-12 19:21

    Work's for me... you are wrapping:

    $("button").click(function() {
         $("div.test").hide("normal");
    });
    

    in $(document).ready() aren't you?

提交回复
热议问题