The normal way to do this would be:
var resultSelect = document.getElementById("resultSelect");
resultSelect.size = 3;
How do i do this in jQuery?
Thanks in advance
The normal way to do this would be:
var resultSelect = document.getElementById("resultSelect");
resultSelect.size = 3;
How do i do this in jQuery?
Thanks in advance
$('#mySelect').attr('size', value)
Using jQuery, how can I dynamically set the size attribute of a select box?