Skip to content Skip to sidebar Skip to footer

Jquery-ui Dialog Will Not Show Buttons

I have a strange issue, and maybe the solution will be very simple. My dialog is showing, but without the given buttons. Please help me. i've got:
Are you

Solution 1:

Found solution by myself:

<divid="dialog">Are you sure you want to delete this user?</div><scripttype="text/javascript">functionopenDialog(usrId){
    $("#dialog").dialog("option", "buttons",  
            {
                'Delete':function(){ window.location = '/user/index/remove-user/usrId/'+usrId; $(this).dialog("close"); }
            ,
                'Cancel':function(){ $(this).dialog('close') } 
            }
    ).dialog("open");

    returnfalse;
}
</script>

Solution 2:

Are you include all Jquery Dialog js/css files?

Post a Comment for "Jquery-ui Dialog Will Not Show Buttons"