To the first part, yes. The names are determined by what day the select is in and the number of selects present. That way, I can add a select and have it automatically be named to the next number ie: I have Wednesday1 and Wednesday2 so the next select to be made will be Wednesday3. The problem is that, for some reason, the posted code is incorrect and throws an error. I don't know enough about Javascript to see what is wrong.
Code pertaining to the selects
var select1 = day + "1";
var select2 = day + "2";
eval("var " + select1 + "= document.createElement('select');");
eval("var " + select2 + "= document.createElement('select');");
The eval statements cause the select1 and 2 to be read as the day that is passed in and the number. In this case, these are the first two selects to be assigned so hard coding in 1 and 2 is not a problem. The first line will, after being evaluated, read var Monday1 = document.createElement('select'); (assuming that the day variable holds "Monday")