1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11:
<input type="button" id="deleteButton" value="Delete calendar"> <script type="text/javascript"> $("#deleteButton").click(function () { var answer = confirm("Warning: This operation will delete the calendar and all of its events. Are you sure you want to continue?") if (answer){ window.location = "xxx.asp?xxx=xxx&cid=<%= xxx("xxx") %>&xxx=<%= xxx("xxx") %>"; } }); </script>
1: 2:
<input type="hidden" name="hidden1" id="hidden1" value="initial value" /> <input type="hidden" name="hidden2" id="hidden2" value="initial value" />