0
我正在使用j查询弹出我的web应用程序。我需要在同一页面中弹出多个不同的用途。我使用不同的id来调用这些。 问题是关于点击事件!(弹出)。 我使用的脚本如下关闭层使用PHP的jquery弹出窗口
//Click out event!
$("#backgroundPopup").click(function(){
disablePopup("#popupContact");
disablePopup("#deleteConfirm");
});
我disablePopup功能提示如下
//disabling popup with jQuery magic!
function disablePopup(divid){
//disables popup only if it is enabled
if(popupStatus==1){
$("#backgroundPopup").fadeOut("slow");
$(divid).fadeOut("slow");
popupStatus = 0;
}
}
它没有关闭我的第二层我deleteConfirm.How可以解决这个问题?请帮我
谢谢...它works.I认为,当我们删除,如果条件也同样会发生 – abhis 2010-07-17 09:43:49