JavaScript实现弹出窗口
function selectTime(id){
var url = "<%=basePath %>enterprise/qy1003_selectTime.jsp";
url += "?id=" + id;
window.open (url, 'newwindow', 'height=100, width=400, top=400,left=500, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no');
}
执行完成之后返回:
//当前窗口关闭
window.close();
// 父窗口刷新
window.opener.document.URL=url;