James Aylard wrote: > If you rewrite it as: > > if (4 == document.forms[f].WhatToDo.selectedIndex) > > and if you accidentally leave off one of the "equal" signs, > you'll get an error (since you can't assign a value to a number). > It's a good coding habit to get into. Ooooh... Counter-intuitive, but clever. I like it! Thanks!