Why is my radio button not working ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
14th Jun 2021, 8:25 AM
Mohit Gehilot
Mohit Gehilot - avatar
14 Answers
+ 4
I think its now fixed
14th Jun 2021, 2:00 PM
Tharul Nejana
Tharul Nejana - avatar
+ 3
you doesn't have any onclick defined in your code...
14th Jun 2021, 8:50 AM
visph
visph - avatar
+ 2
Because : 1 value is not assigned 2 default is not assigned
14th Jun 2021, 12:59 PM
Sanjay Kamath
Sanjay Kamath - avatar
+ 2
Dr.Sandstorm If the query is solved then please mark it as [solved]
15th Jun 2021, 5:43 AM
Innoviz-Technologies-Assam
Innoviz-Technologies-Assam - avatar
+ 1
because you forgot the equal sign between the 'type' attribute name and the 'radio' value ^^
14th Jun 2021, 8:46 AM
visph
visph - avatar
+ 1
onclick attribute should be calling a function or just a simple inline script.
14th Jun 2021, 8:51 AM
Kirabo Ibrahim
Kirabo Ibrahim - avatar
14th Jun 2021, 8:54 AM
Kirabo Ibrahim
Kirabo Ibrahim - avatar
0
Also why is Onclick not working is it correct method or tell me anything about it
14th Jun 2021, 8:48 AM
Mohit Gehilot
Mohit Gehilot - avatar
0
Thanks 🙏
14th Jun 2021, 8:49 AM
Mohit Gehilot
Mohit Gehilot - avatar
0
What to do ? How to do?
14th Jun 2021, 8:51 AM
Mohit Gehilot
Mohit Gehilot - avatar
0
Can you please DM me what should I write there
14th Jun 2021, 8:52 AM
Mohit Gehilot
Mohit Gehilot - avatar
0
what would you do at click?
14th Jun 2021, 8:53 AM
visph
visph - avatar
0
Thank you Kirabo Ibrahim and visph for helping me out ✅
14th Jun 2021, 8:56 AM
Mohit Gehilot
Mohit Gehilot - avatar
0
I would appreciate a Upvote on the post
14th Jun 2021, 8:56 AM
Mohit Gehilot
Mohit Gehilot - avatar