document.myForm.selectBox.options[document.myForm.selectBox.options.length] = new Option(optionText, optionValue, booleanDefaultSelected, booleanSelected);
but don't ask me what defaultSelected means ;-) ----- Original Message ----- From: Matt Horn To: [EMAIL PROTECTED] Sent: Monday, October 27, 2003 2:51 PM Subject: [ cf-dev ] OT Javascript -Select boxes Hi I need to repopulate selectboxes from a query in a hidden frame I can add to a selectbox but once I have removed the old entries I cant create new ones I cant seem to remember the new Options syntax anyone know it? thanks |\--------------------/| Matt Horn Web Applications Developer Ph:+2782 424 3751 W: http://www.matt-horn.org E:[EMAIL PROTECTED] |\--------------------/|