<asp:TextBox ID="txt_Email" runat="server" onblur="checkRate(this.id)"></asp:TextBox>
function checkRate(input)
{var re = /^[_".0-9a-z-]+@([0-9a-z][0-9a-z-]+".){1,4}[a-z]{2,3}$/i;
var nubmer = document.getElementById(input).value;
if (!re.test(nubmer))
{
alert("请输入正确格式的邮件地址");
document.getElementById(input).value = "";
return false;
}
}