0
How can I show different form by clicking in Select balise (using Php) ?
Hi guys I need your help please, How can I show different form by clicking in Select balise (using Php) ? I mean for example in Select Balise exist 3 options , for each option I choose, a Form will be shown .
2 odpowiedzi
+ 4
Collect all forms into a collection.
Add event handler for "change" event of the <select> element, and use for...of loop to switch a form's visibility by adjusting form 'style.display' property value to 'block' for showing it, or 'none' for hiding it.
https://code.sololearn.com/WLbXfi61VtPs/?ref=app
+ 1
Ipang thank you so much , it was perfect , really thanks bro 🙏