title: How can I refresh a tab from another using Javascript
body: <p>I'm looking to achieve something like Wordpress does when you create a new post. It allows you to preview your post by opening a new tab. If, after that, you edit the post and preview it again, rather than opening another tab, it refreshes the previously opened tab (provided it is still open).</p>
  
  <p>From some research it seems I can open a new window and give it a name to identify it, like this:</p>
  
  <p><code>window.open(url,"foobar");</code></p>
  
  <p>But, how can I later refresh this tab? <code>location.reload()</code> does not seem to take a name as an argument.</p>