i put this code but there is a problem. this is not working properly.
this is on textchanged evet .
this is on textchanged evet .
Code:
protected void t1_TextChanged(object sender, EventArgs e)
{
int max = 5;
int length = t1.Text.Length;
if (length !=max)
{
Response.Write("<script type = text/javascript language = javascript >");
t1.Attributes.Add("onblur", "alert('" + length + "');");
//Page.Validate();
// Response.Write("alert('" + length + "');");
//t1.Focus();
Response.Write("</script>");
}
Comment