title: SetFocus does not work on iPad
body: <p>We found that this code works on a PC with: IE, Safari and FireFox.
  However on an iPad or iPhone with Safari it does not auto focus on a textbox.
  We cannot touch the screen and click the textbox, we need the auto focus.
  Any tips here?</p>
  
  <p>thanks!</p>
  
  <pre><code>&lt;script language='JavaScript'&gt;
  &lt;!--
  function SetFocus()
  {
      document.form1['txtCode'].focus();
  }
  window.onload = SetFocus;
  // --&gt;
  &lt;/script&gt;
  </code></pre>