我在一个page1.jsp中有一个链接<a href="#" onclick="openchat(‘123456’)" target="_self">管理</a>function openchat(id){
var date = new Date();
window.showModelessDialog('requests.do?method=recRequests&requestsId=' + id + '&date=' + date, window, 'dialogheight=485px;dialogwidth=773px;status=no');
}以上就是js函数,但是当我在TT中通过这个链接弹出一个窗口时,总是会打开一个新标签页,不过那个弹出窗口是可以用的,我已经添加了<head><title>请求列表</title><base target="_self"></head>这个,请大家帮忙,怎么才能不会弹出新的页面。
var date = new Date();
window.showModelessDialog('requests.do?method=recRequests&requestsId=' + id + '&date=' + date, window, 'dialogheight=485px;dialogwidth=773px;status=no');
}以上就是js函数,但是当我在TT中通过这个链接弹出一个窗口时,总是会打开一个新标签页,不过那个弹出窗口是可以用的,我已经添加了<head><title>请求列表</title><base target="_self"></head>这个,请大家帮忙,怎么才能不会弹出新的页面。
但是如果不通过弹出窗口的话就没有问题,麻烦帮帮忙了