------ Solution ------- -------------------------------------
actually delete the finished page does not refresh ; data not shown to be deleted manually refresh it did not
After deleting the landlord can return to a variable, based on this variable to determine whether to remove , if removed , then it refreshed with js tree , the landlord can refer to the following code:
window.onload = function () {
var refreshFlg = "$ {refreshFlg}";
if (refreshFlg> 0) {
refreshFun ();
}
}
function refreshFun () {
window.parent.frames ["left"] location.reload ().;
}
------ For reference only ------------------------- --------------
delete the vicinity of the code and hold it, then how do also Meirenhuida ah
------ For reference only ---- -----------------------------------
this should be the page you achieve it!
------ For reference only -------------------------------------- -
you are using the frame to write it?
------ For reference only -------------------------------------- -
implementation of how to make the page refresh after deleting ?
------ For reference only -------------------------------------- -
yes ah
------ For reference only -------------------------------- -------
actually delete the finished page does not refresh the data did not show to be removed manually refresh it did not
------ For reference only ----- ----------------------------------
actually delete the page does not refresh the data did not finish to manually refresh the display is removed and it did not
After deleting the landlord can return to a variable, based on this variable to determine whether to remove , if removed , then it refreshed with js tree , the landlord can refer to the following code:
window.onload = function () {
var refreshFlg = "$ {refreshFlg}";
if (refreshFlg> 0) {
refreshFun ();
}
}
function refreshFun () {
window.parent.frames ["left"] location.reload ().;
} Delete success is the data still want to manually refresh the page to display has been deleted automatically refresh how to set Click deleted ?
------ For reference only -------------------------------------- -
actually delete the finished page does not refresh the data did not show was deleted and it did not have to manually refresh
After deleting the landlord can return to a variable, based on this variable to determine whether to remove , if removed , then it refreshed with js tree , the landlord can refer to the following code:
window.onload = function () {
var refreshFlg = "$ {refreshFlg}";
if (refreshFlg> 0) {
refreshFun ();
}
}
function refreshFun () {
window.parent.frames ["left"] location.reload ().;
} Delete success is the data still want to manually refresh the page to display has been deleted automatically refresh how to set Click deleted ?
write an onclick event , call it what refreshFun () can, but you have to make sure to delete before refresh, refresh , or else your original data , network latency issues have to be considered , if you have not deleted refresh , then it does not work, so after a constant return or delete the data , and then refresh the safest
没有评论:
发表评论