What is the important of value="1" and value="2" in this code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the important of value="1" and value="2" in this code?

https://code.sololearn.com/WLhHJ3rx6Y0w/?ref=app

8th Feb 2019, 9:08 PM
Omar
Omar - avatar
3 Answers
+ 1
//Both //They are attribute not tge //Your question is not valid, https://www.sololearn.com/discuss/1316935/?ref=app
8th Feb 2019, 9:14 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
//Value attribute is important when working with server. when a form is submitted, only checkboxes which are currently checked are submitted to the server, and the reported value is the value of the value attribute
8th Feb 2019, 9:31 PM
Sudarshan Rai
Sudarshan Rai - avatar
0
I mean "the" not tge Shudarshan Rai 👑
8th Feb 2019, 9:20 PM
Omar
Omar - avatar