You are developing a customer web form that includes following HTML.
<input id= “textAccountType”/>
You need to develop the form so that customers can enter only a valid account type
consisting of two English alphabet characters.
Which code segment should you use?

A.
Option A
B.
Option B
C.
Option C
D.
Option D
That may be the end of this report. Right here youll discover some sites that we consider youll value, just click the links.
0
0
here are some hyperlinks to internet sites that we link to for the reason that we believe they’re really worth visiting
0
0
Please stop by the web pages we comply with, such as this a single, because it represents our picks through the web.
0
0
here are some links to websites that we link to for the reason that we believe they’re worth visiting
0
0
One of our guests a short while ago encouraged the following website.
0
0
Here is a superb Blog You may Uncover Exciting that we Encourage You
0
0
just beneath, are various totally not related sites to ours, even so, they’re certainly really worth going over
0
0
usually posts some extremely fascinating stuff like this. If you are new to this site
0
0
we prefer to honor several other net internet sites on the net, even though they arent linked to us, by linking to them. Underneath are some webpages really worth checking out
0
0
Explanation/Reference:
* The val() method returns or sets the value attribute of the selected elements.
* HTML pattern Attribute
The pattern attribute specifies a regular expression that the element’s value is checked against.
Example
An HTML form with an input field that can contain only three letters (no numbers or special characters):
Country code:
Reference: HTML pattern Attribute
http://www.w3schools.com/tags/att_input_pattern.asp
0
0