+ 3

How to get textbox and dropdown when radio button is clicked?

in the page on the right side the field name should be 'applied for a job' radio buttons should be 'yes' and 'no' default should be 'no' and when clicked on yes radio button it should ask for 'username and password textbox' and 'interested in' name for a 'list of dropdown' should be shown

15th Dec 2017, 7:02 AM
Hari Krishna
Hari Krishna - avatar
6 Antworten
0
Hope this meets what you want.. https://code.sololearn.com/WzDw40UpmGNW/?ref=app
15th Dec 2017, 9:13 AM
Calviղ
Calviղ - avatar
+ 2
I think you forget to add CSS styling. You need the form display none when starts with CSS: form { display: none; }
15th Dec 2017, 2:44 PM
Calviղ
Calviղ - avatar
+ 1
I think u mean this: edit it how you like: <u>Specify which continent you live in:</u> <select> <option value="Europe">Europe</option> <option value="Africa">Africa</option> <option value="North America">North America</option> <option value="South America">South America</option> <option value="Oceana">Oceana</option> <option value="Asia">Asia</option><hr/> </select>
15th Dec 2017, 6:52 AM
Nathan
Nathan - avatar
+ 1
ya this is the one i needed thanks calvin
15th Dec 2017, 10:34 AM
Hari Krishna
Hari Krishna - avatar
+ 1
Hi Calvin for no also i am getting the textbox can u please run that code from notepad please
15th Dec 2017, 12:51 PM
Hari Krishna
Hari Krishna - avatar
0
Hi Nathan In ur code we have only the drop down but i needed is two textboxes and a dropdown
15th Dec 2017, 7:01 AM
Hari Krishna
Hari Krishna - avatar