YouaredevelopinganASP.NETWebpagethatusesjQueryvalidation.Theusershouldenteravalidemailaddr

15 查阅

YouaredevelopinganASP.NETWebpagethatusesjQueryvalidation.TheusershouldenteravalidemailaddressinatextboxthathasIDtxtEmail.Thepagemustdisplay"E-Mailaddressrequired"whentheuserdoesnotenteranaddressand"Invalide-mailaddress"whentheuserentersanaddressthatisnotformattedproperly.Youneedtoensurethattheappropriateerrormessageisdisplayedwhenthetextboxdoesnotcontainavalide-mailaddress.Whichtwocodesegmentsshouldyouadd?()

A.

B.

C.

D.

参考答案:

参考B, D

计算机考试