+ 1

Drop down menu switch

For example if I have two options in my drop down menu bar for my website and it is already default on one option, when someone chooses the second option how do I change the first option complete to what the second option says for example I say login with Google account and login with discord and it is already on default with Google account how do I change it to discord when the user chooses discord

3rd Apr 2024, 6:29 PM
Ebube NDUKA-ENWELIKU
Ebube NDUKA-ENWELIKU - avatar
6 Answers
+ 3
Are you using the select and option tags in your drop down menu?
4th Apr 2024, 2:33 AM
Chris Coder
Chris Coder - avatar
+ 2
Can you clarify what action you expect after selecting an option from the dropdown menu? Are you aiming to dynamically update the page content based on the user's selection?
4th Apr 2024, 4:15 PM
Chris Coder
Chris Coder - avatar
+ 2
Thank you. This may help. https://stackoverflow.com/questions/6164507/change-the-content-of-a-div-based-on-selection-from-dropdown-menu Also helpful. Google Authorization credentials. https://developers.google.com/identity/sign-in/web/sign-in OAuth2 enables application developers to build applications that utilize authentication and data from the Discord API. https://discordjs.guide/oauth2/#a-quick-example Setting up Multi-Factor Authentication https://support.discord.com/hc/en-us/articles/219576828-Setting-up-Multi-Factor-Authentication
4th Apr 2024, 6:06 PM
Chris Coder
Chris Coder - avatar
+ 1
Yes I am why?
4th Apr 2024, 2:14 PM
Ebube NDUKA-ENWELIKU
Ebube NDUKA-ENWELIKU - avatar
+ 1
Yes exactly 💯
4th Apr 2024, 5:31 PM
Ebube NDUKA-ENWELIKU
Ebube NDUKA-ENWELIKU - avatar
+ 1
Thanks
4th Apr 2024, 6:41 PM
Ebube NDUKA-ENWELIKU
Ebube NDUKA-ENWELIKU - avatar