0

<input type="checkbox" name="gender" value="1" />Male <br /> <input type="checkbox" name="gender" value="2" />Female <br />

what is the use of gender and value attributes

18th Jun 2016, 10:54 AM
aarush
aarush - avatar
3 odpowiedzi
0
gender is not the attribute, there NAME is the attribute and GENDER its value, then value is used to define the value sended to a post or get request on a form when submitted
19th Jun 2016, 8:08 AM
Juan Miguel Mendoza López
Juan Miguel Mendoza López - avatar
0
what is post?
5th Jul 2016, 10:19 AM
E Farid
E Farid - avatar
0
when you submit a form it can be with get or post method, get is when you send the form information in the url and post does not show the data in url
5th Jul 2016, 9:04 PM
Juan Miguel Mendoza López
Juan Miguel Mendoza López - avatar