In my application I am using a text box with onBlur property assigned to a function i cant focus by telling the id in Mozilla the code is as follows
<asp:TextBox ID="txtPassword" AutoCompleteType="Disabled" autocomplete="off" runat="server" MaxLength="25" Width="350px" TextMode="Password" onBlur="return ValidatePassword(this.text);">
</asp:TextBox>
Javascript function
function ValidatePassword(element)
{
element.focus();
}
onbluris a client side function, to get the value of the textbox in client side, use.valuenot.text.