title: Stop form submission with submit eventlistener
body: <p>I'm trying to stop a form from submitting using the submit<code> eventlistener</code>. My anonymous function runs but the form still submits, even with return false at the end of the function. There are no JS errors being thrown.</p>
  <p>Am I making some stupid mistake?</p>
  <pre><code>&lt;form id=&quot;highlight&quot;&gt;
      Row: &lt;input type=&quot;text&quot; name=&quot;rows&quot; value=&quot;1&quot; id=&quot;rows&quot;&gt;
      Column: &lt;input type=&quot;text&quot; name=&quot;cells&quot; value=&quot;1&quot; id=&quot;cells&quot;&gt;
      &lt;input type=&quot;submit&quot; name=&quot;Submit&quot; value=&quot;Highlight&quot; id=&quot;Submit&quot;&gt;
  &lt;/form&gt;
  
  &lt;script&gt;
  var highlight_form = document.getElementById('highlight');
  highlight_form.addEventListener('submit', function() {
          alert('hi');
      return false;
  }, false);
  &lt;/script&gt;
  </code></pre>