YouaredevelopinganASP.NETWebpagethatusesjQueryvalidation.Theusershouldenteravali
YouaredevelopinganASP.NETWebpagethatusesjQueryvalidation.TheusershouldenteravalidemailaddressinatextboxthathasIDtxtEmail.Thepagemustdisplay"E-Mailaddressrequired"whentheuserdoesnotenteranaddressand"Invalide-mailaddress"whentheuserentersanaddressthatisnotformattedproperly.Youneedtoensurethattheappropriateerrormessageisdisplayedwhenthetextboxdoesnotcontainavalide-mailaddress.Whichtwocodesegmentsshouldyouadd?()
A.
B.
C.
D.
正确答案:参考B, D
词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。
