Advertisement
Guest User

Scripts.js

a guest
Jan 30th, 2012
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $("#facilityForm").dialog({
  2.     autoOpen: false,
  3.     height: 420,
  4.     width: 650,
  5.     modal: true,
  6.     buttons: {
  7.        "Save": function() {
  8.             $("form#facilitiesForm").submit();
  9.         },
  10.         "Cancel": function() {
  11.             $( this ).dialog( "close" );
  12.         },
  13.     },
  14.     close: function() {
  15.         allFields.val( "" ).removeClass( "ui-state-error" );
  16.     }
  17. });
  18.  
  19. $("#contactFacilityManager")
  20.     .button()
  21.     .click(function() {
  22.         $( "#facilityForm" ).dialog( "open" );
  23.     });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement