SoFunction
Updated on 2025-03-01

Summary of Javascript window refresh method

This article summarizes the Javascript refresh window method. Share it for your reference, as follows:

Refresh the parent window

<script>
function reflushParent(){
  ();
}
</script>

Refresh this window

<script>
function reflushMe(){
   javascript:();
}
</script>

Refresh this window (new)

<script language='javascript'>
  var currentUrl = 
  var currentQuery = 
  =currentUrl +currentQuery 
</script>

Refresh this window and add a parameter

<script language='javascript'>
  var currentUrl = 
  var currentQuery = 
  =currentUrl +currentQuery +"&language=English"
</script>

I hope this article will be helpful to everyone's JavaScript programming.