title: Disable certain key's default action
body: <pre><code>function keypressCheck() {
      var keyID = event.keyCode;
  
      //space pressed
      if (keyID == 32) {
          anotherFunction();
      }
  }
  </code></pre>
  
  <p>I want <code>anotherFunction()</code> to run when the space bar is pressed without the default action of the page scrolling to happen. is there any way to do this?</p>