title: Auto focus div tag using jquery does not work
body: <p>I need to add autofocus for my div tag. for that I have tried                    </p>
  
  <pre><code>&lt;script type="text/javascript" &gt;
              $(document).ready(function() {
                  $("div_error").focus();
              });
  
      &lt;/script &gt;
  </code></pre>
  
  <p>but this does not focus to my div tag. it loads page as normal.</p>
  
  <pre><code> &lt;div  id="div_error"&gt;some text&lt;/div&gt;
  </code></pre>
  
  <p>what did I miss</p>