Answers for "how to add dynamic height to overlay in jquery dialog box"

0

how to add dynamic height to overlay in jquery dialog box

function showDialog(title, content) {
                var height = $(document).height();
                $("#message").dialog({
                    modal: true,
                    width: "auto",
                    position: {my: 'top', at: 'top'},
                    buttons: {
                        Ok: function () {
                            $(this).dialog("close");
                        }
                    },
                    open: function (event, ui) {
                        $(".ui-dialog-titlebar-close", ui.dialog | ui).hide();
                        $('.ui-widget-overlay').css('height',height);
                    }
                });
            }
Posted by: Guest on June-03-2021

Code answers related to "how to add dynamic height to overlay in jquery dialog box"

Code answers related to "Javascript"

Browse Popular Code Answers by Language