在建材系统中,js刷新页面的写法有多种:
(1)location.reload();
(2)function callBack()
{
document.location.href = xmlHttp.responseText; (xmlHttp.responseText接受的是从action中返回的值只要保证其url也指向本页面,就可以刷新请求发出页面)
}
(3)grid.getView().refresh();
(1)location.reload();
(2)function callBack()
{
document.location.href = xmlHttp.responseText; (xmlHttp.responseText接受的是从action中返回的值只要保证其url也指向本页面,就可以刷新请求发出页面)
}
(3)grid.getView().refresh();