title: Simple JavaScript won`t work in Chrome
body: <p>Why isn't this working in Chrome?</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div class="deo" id="a1"&gt;
  &lt;form id="formaA1" name="formaA1"&gt;
   KOLIKO JE 3-1+5? //It`s simple equation, it says: How much is 3-1+5?
  &lt;br/&gt;
  &lt;input type="text" id="pitanjeA1" name="pitanjeA1" /&gt;
  &lt;br/&gt;
  &lt;button onClick="return a1();"&gt;Odgovor&lt;/button&gt;             
  &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>CSS:</p>
  
  <pre><code>    .deo  {
      width: 24%;
      height: 30%;
      background-color: #808080;
      float: left;
      text-align: center;
      }
  
  img {
      width: 100%;
      height: 100%;
      margin: auto;
      }
  </code></pre>
  
  <p>JavaScript:</p>
  
  <pre><code>function a1() {
      if (parseInt(document.formaA1.pitanjeA1.value) == 7) {
          document.getElementById("a1").innerHTML = "&lt;img src='zmaj_01.jpg'&gt;";
          return true;
      } else {
          alert("Netacan odgovor. \nPokusajte ponovo.");
          return false;
      }
  }​
  </code></pre>
  
  <p>It`s a simple program, everytime child answers correct piece of image appears. 
  It works fine in FireFox and IE, but in Chrome it does nothing.
  Also, any critics on code is appreciated.
  Thanks.</p>