Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The gender select color in form_wizards.html #918

Open
iwantmyway opened this issue Feb 19, 2021 · 1 comment
Open

The gender select color in form_wizards.html #918

iwantmyway opened this issue Feb 19, 2021 · 1 comment

Comments

@iwantmyway
Copy link

Hi, I am newbie in bootstrap.
In form_wizards.html , there is a Gender selection label. The color of it does not change after the selection.
<label class="btn btn-secondary" data-toggle-class="btn-primary" data-toggle-passive-class="btn-secondary"> <input type="radio" name="gender" value="male" class="join-btn"> &nbsp; Male &nbsp; </label>
I want to ask how can I change the color after the gender is selected ? Should I modify the css or the javascript ?

@Rufaid786
Copy link

You can modify the javascript code accordingly.Use javascript to check whether radio button is selected and change color accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants