How to specify the value to be sent to a server ?
In this article, we will see how to specify the value of an option so that this value is sent to the server.
The value attribute can be used for this purpose. It specifies the value to be sent to a server in the <option> element. The content between the opening and closing tags of <option> will be displayed by the browser in the drop-down list. However, the value that was defined in the value attribute is what will be sent to the server when the form is submitted.
My Personal Notes arrow_drop_up
Please Login to comment...