Attaches a change event to the select that gets the text for each selected option and writes them in the div. It then triggers the event for the initial text draw.
Edit code and click me
Your Result
(Some examples do not work in Google Chrome):
Flowers
Shrubs
Trees
Bushes
Grass
Dirt
Edit the code above and click to see the result
www.xhtml.co.il
- Try it yourself