title: Display an image in a div with javascript?
body: <p>my js is not good, but I'm thinking I'm going to need to use the getElementbyId some think like:</p>
  
  <pre><code>if (a == ‘tick’)
  document.getElementById(‘imageDiv’) = tick.gif
  else
  document.getElementById(‘imageDiv’) = cross.gif
  &lt;div id="imageDiv"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>but is does not work.</p>