I have a hidden element on my page with id select-box
:
<select style="display:none;" id="select-box">
There's a <label>
at the top of my page:
<label for="select-box">Select box</label>
Because the <select>
is hidden, clicking on the <label>
has no effect. Is there a way to achieve this, preferably without using any JavaScript?