Whats wrong with this function

Posted by danit on Stack Overflow See other posts from Stack Overflow or by danit
Published on 2010-04-27T12:41:59Z Indexed on 2010/04/27 12:43 UTC
Read the original article Hit count: 179

Filed under:

I cant work out which brackets are in the wrong place and where and now im completely lost:

    $("#slid").click(function() {
        $("#div1").animate({ top: "25px",}, 300
        },function() {
            $("#div1").animate({ top: "85px",}, 300
        });
    });

Can anyone help?

© Stack Overflow or respective owner

Related posts about jQuery