1

嗨,我有一个在服务器按钮单击时执行的函数(我在单击事件中调用的函数)这个函数有简单的代码我显示了一个默认隐藏的 div,我更改了 div 位置但是当我执行它时,它运行正常但当我第二次点击它不起作用。这是什么问题

jQuery(document).ready(function ($) {
    jQuery("#BtnInsert").click(function () {

        jQuery('.alarm').show(400).animate({ left: '285' }, 600).animate({ top: '410px' }, 600).delay(3000).animate({ top: '475px' }, 600).hide(400).animate({ left: '400px' });
    });

});
4

0 回答 0