How to get the value of the selected radio button | SoloLearn: Learn to code for FREE!

0

How to get the value of the selected radio button

when radio button is checked it should have 3 dropdown list with the names cars,bikes, 6 wheelers

12/11/2017 11:49:10 AM

Hari Krishna

17 Answers

New Answer

+1

I couldn't achieve that one but I found this on StackOverflow: https://code.sololearn.com/WlMUFj2Aa2q4

+1

Do you mean like this? https://code.sololearn.com/WvWK1s1vQ0XF/#html

+1

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

+1

I guess that's what you meant^^

+1

Or do you mean nested dropdown?

+1

Unfortunately I don't know how to do that.

0

Hi Texas it was not the expected output

0

i mean when i click on click me radio button i should get the three fields of dropdown in one filed named as cars and it contains list of carnames in dropdown list and another as bikes and it contains list of bike names

0

in your code when u click on click me it contains only one drop down but i need three drop downs like that and before the dropdown box it should contain their names

0

it was nyc thought thank you Texas for the code and ur try

0

yes that was what i need thanks Texas

0

no the thats what i needed thanks a lot Texas

0

hey Texas i need some help in another one

0

i already asked that about how to get checkbox inside a dropdown list

0

i had 4 fields but for the third field i need checkbox inside a dropdown list when i use that code it is reflecting for the other fields

0

for all 4 fields i need a dropdown but for first 2 fields only value should be selected and for the 3 field it should select multiple values and for the 4th field it should contain month and yearl

0