title: Functions with expressions don't work
body: <p>I tested it in chrome and that time it worked, but now not anymore. Can you please tell me why is that? Any suggestions will be appreciated. I've also tested it in explorer, it's the same.
  Here is the code:</p>
  
  <pre><code>function checkName() {
      var alphaExp = /^[a-zA-Z\-]+$/;
      var nume = document.getElementById('nume');
      var pren = document.getElementById('pren');
  
      if (nume.value.match(alphaExp) &amp;&amp; pren.value.match(alphaExp) &amp;&amp; nume.value.length &gt;= 2 pren.value.length &gt;= 2) {
          return true;
      } else {
          alert("Numele si prenumele trebuie sa contina doar litere si sa aiba mai mult de 2 caractere ! ");
          return false;
      }
  }
  </code></pre>