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