JQuery Dialog with Checkbox and Submit button in C#

spikyatxpsp2

New Member
Basically I have a JQuery UI Dialog but I would need to integrate a checkbox and a submit button in it. Upon clicking the submit button to close the dialog, I would require the checkbox to be checked. It's the same concept as Terms&Condition.Would anyone mind to share on how to do it/best approach? Been searching around but found nothing close.Thanks.\[code\]<script type="text/javascript">$(function() {$("#dialog").dialog({ autoOpen: true, closeOnEscape: false, resizable: false, draggable: false, height: 700, width: 700, modal: true, show: { effect: "fade", duration: 1000 } }); }); $(function() { $("#dialog").dialog({ buttons: { Confirm: function() { $(this).dialog("close"); } } }); });\[/code\]\[code\]<asp:CheckBox ID="CheckBox1" runat="server" /> <asp:Button ID="Button2" runat="server" Text="Button" />\[/code\]
 
Back
Top