jQuery + Simple Dialog
- by Panther24
Hi,
I have a jQuery Model windows which contains a form.
On creating of the page, I'm able to see the fields although in my dialog, i have set autoOpen to false.
All the forms are in a div.
a sample of my dialog looks like this:
$("#dialog-form").dialog({
autoOpen: false,
height: 460,
width: 750,
modal: true,
buttons: {
'Create Map': function() {
document.registerFrm.submit();
},
Cancel: function() {
$(this).dialog('close');
}
},
close: function() {
allFields.val('').removeClass('ui-state-error');
}
});
Any way to resolve, I don't want the form fields to be visible on load/creation of the page.