Nathaniel, >I can't quite get my head around this problem and would really >appreciate some advice: > >I've got five select boxes, all with the same five options. I'd like >to loop through each select and set it's value to each one of the >options. I.e. the first select is pre-filled with option one, the >second select is pre-filled with option two, etc.
Not tested, but should work: $("select").each( function (i){ this.selectedIndex = i; } ); This should set the first select box to the first option, the second select box to the second item, etc. -Dan