Shared variable scope between two browser tabs?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4079280/javascript-communication-between-browser-tabs-windows">Javascript communication between browser tabs/windows</a>  </p>
</blockquote>



<p>I have web application with a HTML form which contains a select/option entry. It worked fine in a demo with 200 items, even if it's clumsy to find the one you want, but in reality there are over 30000 items. (It's a parts list.)</p>

<p>My first thought is have, instead of a drop down box, to have a 'choose part' button and this opens a second browser tab ('Search Parts') and then the full list displayed, search capabilities etc, each with a 'copy to clipboard' button. Then the user can press one and go back to the original form and press a 'paste' button and the name of the part will be entered into the form.</p>

<p>What I am asking is, is there a javascript scope in which I can store a small text field and id number in the 'Search Parts' tab so that I could get retrieve it when the user presses a 'paste' button on the main form page? I don't want to send messages back to the server.</p>

<p>(BTW I'm not necessarily interested in implementing Ctrl+C/V or using the system clipboard, unless that's part of an easy solution.)</p>

<p>Thanks!</p>
