jQuery Dialog Box

后端 未结 10 1984
暖寄归人
暖寄归人 2020-12-07 15:39

Im trying to do a dialog box with jquery. In this dialog box Im going to have terms and conditions. The problem is that the dialog box is only displayed for the FIRST TIME.<

10条回答
  •  误落风尘
    2020-12-07 16:25

    This is a little more concise and also allows you to have different dialog values etc based on different click events:

    $('#click_link').live("click",function() {
        $("#popup").dialog({modal:true, width:500, height:800});
    
        $("#popup").dialog("open");
    
        return false;
    });
    

提交回复
热议问题