I’m stuck I want to make so when I click on “vad åt jag” a dropdown box comes up and you can choose from a list of item I don’t want it to be below like it’s now. I want it to be a part of the future. Been stuck for awhile now.
Provide a link to your project (Codepen or JSFiddle) so we can look at all the code.
Ok did it thanks for the tip.
Can you describe in detail what you mean by “be a part of the future”?
Ok so i want it so when i click on “vad åt jag” the dropdown box comes up and you can choose from options ill add in later on.
Right now you can see in “Måltid 1” under “vad åt jag” there is a box with “grönsaker” i want the box with grönsaker to disappear from below “Vad åt jag”.
Then i want the box with “grönsaker” to come up when i click on the box vad åt jag.
If i am getting it right you are trying to achieve something like in this forked pen
Ye but i want it to be a replacement for “vad åt jag” like when i click on "vad åt jag "the dropdownbox pops up directly.
try reloading my pen above and let me know if that’s what you looking for
asking the right question on google will give you the most appropriate response in the first place.
So, lets say you want to know what jquery function to use to hide an element, then “jquery hide element” will show you the right answer.
The best way to get the right answer when googling is to put the shortest and concise question using keywords from your broader question.
Gotcha thanks for the eye-opener.
You are very welcome.