页面回发后,jQuery Pop无法正常工作 [英] JQuery Pop Not working after the Page PostBack

查看:88
本文介绍了页面回发后,jQuery Pop无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

我正在使用JQuery通过以下代码显示弹出窗口

Dear all,

I am using JQuery to show popup with the following code

$(function() {
$('#activatorp1').click(function(){
$('#overlayp1').fadeIn('fast',function(){
    $('#boxp1').animate({ 'top': '350px' }, 500); 
});
});
$('#boxclosep1').click(function(){
$('#boxp1').animate({'top':'-400px'},500,function(){
    $('#overlayp1').fadeOut('fast');  
});
}); 
}); 


但是在页面回发后,不会出现弹出窗口.
谁能帮我吗?

此致

Ab Abulubbad


but after the page postedback, the popup does not appear.
Can anyone help me please?

Regards,

Ab Abulubbad

推荐答案

(function(){
(function() {


(' #activatorp1').click(function(){
('#activatorp1').click(function(){


(' #overlayp1').fadeIn(' fast ',function(){
('#overlayp1').fadeIn('fast',function(){


这篇关于页面回发后,jQuery Pop无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆