title: Javascript: How to reload entire frameset onload() event including frame where Javascript is called
body: <p>Is there a way to reload an entire frameset using Javascript onload() event?</p>
  
  <pre><code>function logout() {
      /* ... */
      // reload entire frame
      top.location.reload();
  }
  
  &lt;body onload="logout()"&gt;
  </code></pre>
  
  <p>This cause all frames to reload but the URL of the frame where this was called didn't changed to the URL specified in the framset.</p>