- <script>
- $(function() {
- $("#dialog-form").dialog({
- closeOnEscape: true,
- autoOpen: false,
- height: 760,
- width: 880,
- modal: true,
- resizable: true,
- buttons: {
- Cancel: function() {
- $(this).dialog("close");
- }
- },
- close: function() {
- // allFields.val( "" ).removeClass( "ui-state-error" );
- }
- });
-
- $("input#mkwsButton")
- .button()
- .click(function() {
- $("#dialog-form").dialog("open");
- });
- });
- </script>