title: Javascript focus() method not working with Google Apps Script
body: <p>I have tried using the focus() method by various ways in my Google Apps Script Project. I tried using both of these:</p>
  
  <pre><code>$("#elementID").focus();
  </code></pre>
  
  <p>and also</p>
  
  <pre><code>document.getElementById("elementID").focus();
  </code></pre>
  
  <p>But neither works. Am I missing something or is Caja sanitizing it? Also if the later is true are there any workarounds?</p>