js refresh the current page, refresh the parent page

window.location.reload (); // refresh the current page. 

parent.location.reload (); // refresh the parent object (a frame) 

opener.location.reload (); // refresh the parent window object (for single open window) 

top.location.reload (); // refresh the top of the object (for multi-windowing)

 

Guess you like

Origin www.cnblogs.com/webmc/p/11649608.html