Which code segment should you use?

You are developing a customer web form that includes the following HTML.
<input id=”txtValue” type=”text” />
A customer must enter a valid age in the text box prior to submitting the form.
You need to add validation to the control. Which code segment should you use?

You are developing a customer web form that includes the following HTML.
<input id=”txtValue” type=”text” />
A customer must enter a valid age in the text box prior to submitting the form.
You need to add validation to the control. Which code segment should you use?

A.
Option A

B.
Option B

C.
Option C

D.
Option D



Leave a Reply 4

Your email address will not be published. Required fields are marked *


Venkatesh Manoharan

Venkatesh Manoharan

This question doesn’t seem to be correct

Dipak

Dipak

I think it’s not a complete question.

ogbb

ogbb

The 2nd part of question is from the 1st question.