<script type="text/javascript">
function showDiv(id, uid) {
var ok = window.showModalDialog('ReplyMsg.aspx?id=' + id + '&uid=' + uid, '', 'dialogHeight:250px;dialogWidth:400px;');
}
</script>
<span style="color: Blue; cursor: pointer" οnclick="showDiv('<%# Eval("ID") %>','<%# Eval("发送人") %>')">
回复</span>
关闭
<script type="text/javascript">
function returnOk() {
alert("回复成功!");
//window.returnValue = "ok";
window.close();
}
</script>
如果页面使用了frameset,它也会显示在窗口的最上层