title: Google Apps Script HTML Service Key Events
body: <p>I am using Google Apps Script to create a textbox and validate that the input is numbers only.</p>
  
  <pre><code>$('.numbersOnly').keyup(function () {
      if (!this.value.match(/^([0-9]{0,2})$/)) {
          this.value = this.value.replace(/[^0-9]/g, '').substring(0,2);
      }
  });
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;input type="text" name="height" class="numbersOnly" /&gt;
  </code></pre>
  
  <p>But it doesn't work in my web app.  The code works in JSFiddle though.work</p>