How it Works: Making Use of More Controls
In this lesson, we will understand the workings of the previous exercise.
We'll cover the following...
How it works
In the first step, you added the <datalist>
element to the form definition. It uses a number of <option>
tags to define suggestions that can be offered by textboxes. The value attribute of each option defined the text that was to be posted to the backend. The first and the second <option>
items define text values that can be used by the ...