Here is my HTML:
<asp:TextBox ID="textname" runat="server" CssClass="TextBox" 
    OnClick="fnFocus(this.id)" ></asp:TextBox>
Here Is JavaScript
function fnFocus(id) {
    document.getElementById(id).focus();
}
The above code is working in all browsers except Chrome. On textbox click event I want to show focus at the first character of the input. 
Any suggestions?
 
    