I want to create a script like this an run that :(below is attemp)
protected void txtPassword_TextChanged(object sender, EventArgs e)
{
        script  =  "<script type='text/javascript'>";
        script += "function showmsg(){";
        script += "$('#msg').slideDown('normal');";
        script += "$('#msg span').addClass('message');";
        script += "setTimeout('showmsg',100);";
        script += "}";
        script += "</script>";
        ClientScript.RegisterClientScriptBlock(this.GetType(), "ShowMessage",script);
}
Where is my mistake ? why there is no run ?
 
     
     
     
     
     
    