title: focus(); not working in mozilla but fine in IE and chrome
body: <pre><code>    function validateForm()
      {
         var ddlTitle = document.getElementById('&lt;%=ddlTitle.ClientID %&gt;');
          if (ddlTitle.value.replace(/^\s+|\s+$/, '').length &lt; 1)
                      {
                          alert("Title should not be blank.");
                          ddlTitle.focus();//not working in mozilla but fine in IE and chrome
                          return false;
                      }
  
      }
  &lt;asp:DropDownList ID="ddlTitle" runat="server" CssClass="csstextbox"&gt;
                      &lt;asp:ListItem Value=""&gt;[Select]&lt;/asp:ListItem&gt;
                      &lt;asp:ListItem&gt;Dr.&lt;/asp:ListItem&gt;
                      &lt;asp:ListItem&gt;Dr.(Mrs.)&lt;/asp:ListItem&gt;
                  &lt;/asp:DropDownList&gt;
      &lt;asp:Button ID="btn" runat="server" CssClass="cssbutton" Text="Save" Width="60px"
                          OnClientClick="return validateForm();"  /&gt;
  </code></pre>
  
  <p>This is HTML source</p>
  
  <pre><code>ddlTitle = document.getElementById('contentPlaceHolderMain_ddlTitle');
  function validateForm()
          {
              if (ddlTitle.value.replace(/^\s+|\s+$/, '').length &lt; 1)
              {
                  alert("Title should not be blank.");
                  ddlTitle.focus();
                  return false;
              }
           }
  </code></pre>
  
  <p><strong>Problem is only for dropdownlist works well for Textbox</strong></p>