Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("#facilityForm").dialog({
- autoOpen: false,
- height: 420,
- width: 650,
- modal: true,
- buttons: {
- "Save": function() {
- $("form#facilitiesForm").submit();
- },
- "Cancel": function() {
- $( this ).dialog( "close" );
- },
- },
- close: function() {
- allFields.val( "" ).removeClass( "ui-state-error" );
- }
- });
- $("#contactFacilityManager")
- .button()
- .click(function() {
- $( "#facilityForm" ).dialog( "open" );
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement