0

Use of value

<input type="radio" name="gender" value="male" /> Male <br /> <input type="radio" name="gender" value="female" /> Female <br /> what's the use of value here?

31st Dec 2016, 11:03 AM
Dark Soul
Dark Soul - avatar
3 ответов
0
gotta learn java for it I guess?
2nd Jan 2017, 4:36 PM
Dark Soul
Dark Soul - avatar
- 1
When a Radio button is marked it delivers its value. Important for eg JS
31st Dec 2016, 11:08 AM
Andreas K
Andreas K - avatar
- 1
no you don't have to learn Java. you need to learn Javascript
2nd Jan 2017, 5:16 PM
Andreas K
Andreas K - avatar