1. The value used in the button refers to the text to be displayed on the button, such as confirmation of deletion, etc.
2. The value used in the check box refers to the value of this check box.
3. The value used in the radio box is the same as the check box.
4. The value used in the drop-down menu is the value of each child in the list.
5. The value used for hidden domain is the content displayed in the box
In the background, if you want to get the content of the checkbox, it is the value to get it.
When you get data in the page that receives form data, what you get is the value of the value
1. name is the name of the control (multiple controls can take the same name), and value is the value of the control;
2. Not all control values will be displayed, such as checkbox, radio, hidden;
3. Define the name and value of the control and get the control and its value on the server;
4. Not seeing the submit name does not mean that the browser ignores its name. Before submitting, it also defines the name by the browser, and its name and value can also be obtained on the server;
5. The control can also be displayed without defining a name/value. It is only for the convenience of receiving and distinguishing it on the server. Of course, the value of the button is not only used to store its value, but also used to display it.
[code]
<html>
<select>
<option value=1>Flowers</option>
<option value=2 selected=selected>Gardens</option>
<option value=3>Trees</option>
</select>
<form>
<input type=checkbox name=newsletter checked=checked value=Daily />vjn
<input type=checkbox name=newsletter value=Weekly />bvc
<input type=checkbox name=newsletter checked=checked value=Monthly />cvb
</form>
<input type=button value=determine/
<SPAN style=WHITE-SPACE: pre> <input type=text value=Please enter content/> </SPAN>
</html>