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.<
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; });