Hello. Im using the jqueryui plugin and I'm using the code for the jquery
modal confirmation shown in the demo. If you see the demo, where the text is
written i have a form with a couple of input fields. What I want to do is
that when u press "delete all" for the form tu submit. I see the demo for
the modal form, but that one has a lot of validations and when I try to
modify it the code breaks and doesnt work. I only need for the form to
submit when u press the button, no validation. Thanks!
# <script type="text/javascript">
$(function() {
// a workaround for a flaw in the demo system
(http://dev.jqueryui.com/ticket/4375), ignore!
$("#dialog").dialog("destroy");
$("#dialog-confirm").dialog({
resizable: false,
height:700,
width:650,
modal: true,
buttons: {
'Save': function() {
$(this).dialog('close');
},
Cancel: function() {
$(this).dialog('close');
}
}
});
});
</script>
#
<div id="dialog-confirm" title="Submit">
<form action"test.php" method="post">
<input name="name" type="text" value="" />
</form>
</div>
--
View this message in context:
http://old.nabble.com/Submit-Jquery-Modal-Confirmation-tp28623938s27240p28623938.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.