How can I limit the number of shown options in an HTML <select>
drop down?
For example:
<select>
<option value="1">1</option>
<option value="2">2</option>
...
<option value="20">20</option>
</select>
How can I get the browser to show only the first five options and scroll down for the rest?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…