For this dropdownlist in HTML:
Country
I would lik
Super simple:
var state = false; $("a").click(function () { state = !state; $("select").prop("size", state ? $("option").length : 1); });