Model Dialog Using Javascript

$("#divExcelData").dialog({
                        title: "Preview",
                        resizable: false,
                        height: dialogHeight,
                        width: dialogWidth,
                        modal: true,
                        buttons: {
                            "Submit": function () {
                                SubmitDataToDatabase();
                                $(this).dialog("close");
                            },
                            Cancel: function () {
                                $(this).dialog("close");
                            }
                        }
                    });


  <script src="Scripts/jquery-ui.js" type="text/javascript"></script>
   <link rel="stylesheet" type="text/css" href="Styles/jquery-ui.css"/>


Comments

Popular posts from this blog

My Interview Experience

React Checkbox Control SPFx