0
How to add a button as an option in select tag
I want to add a button as an option in the select field but I Don't really know how need help and maybe tell me to search somewhere else then stackoverflow or w3school thx anyway
7 ответов
0
Can you explain what you want a little more? What "select field" is this?
0
Well you know those select tags and with the options
0
You can't put a functional button in place of one of the options. The select and option tags create special fields, which you can format in css but not add buttons inside. Why is it you want a button? Perhaps there is a better way to do it.
If you really did want a button, you could create your own select-like combination of elements using divs and a heap of javascript. This would be quite painful...
0
Oh thank you I'll try to find a way around
0
Btw I just wanted to display not options by clicking on button with should be located in the select as an oprion
0
You mean the button makes the options appear?
0
yeah that it does anyway