$("#dialog").dialog({
bgiframe: true,
autoOpen: false,
height: 530,
width: 545,
modal: true,
buttons: {
'Save': function() {
$(this).dialog('close');
},
Cancel: function() {
$(this).dialog('close');
}
},
close: function() {
allFields.val('').removeClass('ui-state-error');
}
});
$('.ui-icon-zoomin').click(function() {
$('#dialog').dialog('open');
}) |