title: How to use focus() event in mozilla firefox?
body: <p>I have used <code>focus()</code> method, but it does not work on Mozilla Firefox. I have used the following code in asp .net:</p>
  
  <pre><code>protected void drgBranches_SelectedIndexChanged(object sender, EventArgs e)
  {
    txtLoginName.Text = drgBranches.SelectedValue;
    txtLoginName.Focus();
  }
  </code></pre>