Hard to tell without the rest of the code/HTML. A couple of things come to mind. As I'm sure you know, the basic structure is:<br><br>var variable=document.forms['formname'].elements['elementname'];<br><br>variable.options[0]=something;<br> -or-<br>variable2=variable.options[0];<br><br>In your code, is instfin the name of a UNIQUE form element or is it the name of a group. If name of group, it should be instfin[0] or whatever. Is doc.selectindex a UNIQUE element? If they are, I don't see anything wrong.<br><br>How do you call the function. If it's called prior to the page loading fully, you will get an error. I assume this is not the case.<br><br>Where did you define options? Is it an HTML option in a select box that already exists, or are you trying to add a new option on the fly, in which case it may not yet exist.<br><br><br>I hate problems like this. It's so frustrating to see a piece of code that looks perfectly logical but you have a 'dumb' machine telling you it's not. Good Luck!<br><br>Russ<br>