> Is it impossible in jQuery to select an element as I do here (var > yearFrom=$(":input[type=select][name=yearFrom]");)? > > Marc
Yes, i think you should do it like this instead $("select [name=yearFrom]"); jQuery will look for an element which actually has a type="select" attribute. <button name="load">Load data</button> $(":input[type=button]") - no result <input type="button" name="load" value="Load data" /> $(":input[type=button]") - 1 result