I have a <select>
menu similar to example below:
<select>
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select>
On some websites, I've seen that this menu can be triggered via an external image or div.
I've searched on google but almost all questions and answers are related to how to list images inside a select, which is not what I need. I want select menu to appear when a DIV or an image is clicked.
How can I trigger this select menu via a click to another DOM element, i.e., a div?
PS. My website already has jQuery included.