title: (Dojo) How set focus to same input, by using widgets dijit?
body: <p>I need set focus to input, by using widgets dijit. I don now how require property focus() in form._FormWidget.</p>
  
  <pre><code>&lt;script type="text/javascript"
  src="http://o.aolcdn.com/dojo/1.6/dojo/dojo.xd.js" djConfig="parseOnLoad: true" &gt;
  &lt;/script&gt;
  &lt;script&gt;
  dojo.require("dojo.parser");
  dojo.require("dijit.form._FormWidget");
  dojo.require("dijit.form.Form");    
  
  var ws = new dijit.form._FormWidget();
  ws.focus(dijit.byId("company"));
  &lt;/script&gt;
  
  &lt;input id="company" type="text" name="company" /&gt;
  </code></pre>
  
  <p>This not working! Pls help.</p>
  
  <p>If use document.getElementById('company').focus(); i hav error Uncaught TypeError: Cannot read property 'focus' of null.</p>