Even if I add an id to the select element and try to select by Id, I cannot get a reference to it:
<select name="yearFrom" id="yearFrom" style="visibility: hidden;"></ select> yearfrom = $("#yearFrom") gives me the error "yearFrom.options is undefined" when I try to get to the yearfrom.options[0] array... Luckily document.getElementById("yearFrom") still works so I give up trying to use jQuery with select boxes ...