function checkADDUser () {
Var t=true;
$(" # Huiform input ".) each (function (index, element) {
If ($. Trim ($(this). Val ())=="") {
$(this). The focus (); T=false;
Layer. MSG (' add failure, please fill out the complete. ')
return false;
}
The else {
//alert (' add success! ');
//parent. Location. Reload ();
//the window. The location. Reload ();
window.location.reload();
return false;
}
});
Return t;
}
});
Tried Windows. Location. Reload (); The parent. The location. Reload (); Can't break out the latest data
CodePudding user response:
If you have a refresh but no updates can consider to add a random parameters in the URL, use window.location.href=https://bbs.csdn.net/topics/xxxx
CodePudding user response:
The