select2: control how many options to show

jquery

Solution

This worked:

html:

<select class="bigdrop">

jquery:

$(".bigdrop .select2-results").css("max-height","400px");

Problem

I have a select box that shows about 7 options. How can I make `select2` show more options? ``` <td class="span4"><select id="tec" class="span4"><option></option> <option>A1</option><option>A2</option><option>C1</option> <option>C2</option><option>C3</option><option>E1</option> <option>E2</option><option>G1</option><option>G2</option> </select> </td> ``` It's about showing more choices, not about selecting

Original source