title: Type Email doesn't support selectionrange
body: <p>I'm trying to set my cursor to the position of the beginning when I'm on focus of a text box. This is what I have:</p>
  
  <pre><code>$("ID").focus(function () {
      var input = this;
      setTimeout(function() {
          input.setSelectionRange(0, 0);
      }, 0);
  });
  </code></pre>
  
  <p>But I get this error every time I try to load the script:</p>
  
  <blockquote>
    <p>Uncaught InvalidStateError: Failed to execute 'setSelectionRange' on 'HTMLInputElement': The input element's type ('email') does not support selection. </p>
  </blockquote>
  
  <p>Guess I can't use <code>setSelectionRange</code> on emails. So, any other solutions on how to set my cursor position in the input text box (without changing the type email)?</p>