Hello, I've set up a search form inside of a jQuery modal dialog but when I
submit the form I get an error indicating that I left the form empty.
- - - - - - - - - jQuery:
$(function(){
// Dialog
$('#dialog').dialog({
modal: true,
draggable: false,
resizable: false,
autoOpen: false,
width: 600,
buttons: {
"Submit": function() {
document.advSearch.submit();
},
"Cancel": function() {
$(this).dialog("close");
}
}
});
// Dialog Link
$('#dialog_link').click(function(){
$('#dialog').dialog('open');
return false;
});
});
What do I need to do to fix this?
--
View this message in context:
http://old.nabble.com/form-in-modal-dialog-submission-problem-tp26840227s27240p26840227.html
Sent from the jQuery UI Discussion mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en.