<script src="../../_layouts/15/SP.UI.Dialog.js" type="text/javascript"></script>
<script type="text/javascript">
function tixing() {
var options = {
url: "/_layouts/15/MyDemo/ApplicationPage2.aspx" ,
title: "设置提醒" ,
//width:"600px",
height: "218px"
};
SP.UI.ModalDialog.showModalDialog(options);
}
</script >
1 <input id="Button1" type="button" value="button" onclick=" tixing()"/>
2 <asp: Content ID ="Main" ContentPlaceHolderID ="PlaceHolderMain" runat ="server">
3 <script src="../SP.UI.Dialog.js" type="text/javascript"></ script>
4 <table >
5 <tr>
6 <td>
7 <input type="checkbox" />提醒发送到手机
8 <input type="text" />
9 </td>
10 <td>
11 <input type="radio" name="pinlv" />每天提醒
12 </td>
13 </tr>
14 <tr style=" margin-top:3px">
15 <td>
16 <input type="checkbox" />提醒发送到邮箱
17 <input type="text" />
18 </td>
19 <td>
20 <input type="radio" name="pinlv" />
21 间隔
22 <input type="text" style=" width: 20px" />
23 天,
24 <input type="text" style=" width: 20px" />
25 时
26 </td>
27 </tr>
28 </table >
29 <div style=" margin-top:3px">
30 首次提醒时间:任务到期前
31 <input type="text" style=" width: 22px" />
32 天,邮件/短信发送时间:
33 <input type="text" style=" width: 20px" /> 时,
34 <input type="text" style=" width: 20px" />分
35 </div >
36 <input id="Button1" class="btn" type="button" value="确定" style=" margin-left:110px ; margin-top:39px" onclick=" javascript: SP.UI.ModalDialog.commonModalDialogClose(2, 1); " />
37 <input id="btnCancel" class="btn" type="button" value="取消" style="margin-left :120px;margin-top: 39px" onclick ="javascript: SP.UI.ModalDialog.commonModalDialogClose(2, 1);" />
38 </asp: Content>