title: javascript change div based on dropdown
body: <p>I have a dropdown list with 2 options:</p>
  
  <pre><code>&lt;select name="list" size="1"&gt;
     &lt;option value=1&gt;Option 1&lt;/option&gt;
     &lt;option value=2&gt;Option 2&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>And i want to set <code>&lt;span id=tag&gt;&lt;/span&gt;</code> to display different text depending on which option is highlighted in the dropdown. How can I do this?</p>