title: How to change the background image of a textarea
body: <p>How can I change my <code>textarea</code> background image when I select a value from the <code>select</code> menu?</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;  Your Title  &lt;/title&gt;
  
  &lt;script&gt;
  function kool()
  {
  `enter code here`abc.style.background="img1.bmp"
  }
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;textarea name="abc"&gt;
  1) Make paper airplanes out of the exam. Aim them at the instructor's left nostril. 
  2) Bring cheerleaders during an exam.
  &lt;/textarea&gt;
  
  &lt;select id="xyz" onchange="kool()"&gt;
  &lt;option value="A"&gt;Image 1&lt;/option&gt;
  &lt;option value="B"&gt;Image 2&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>