Hi!When a user change month for example from February to Mars, i want to add nr of days in options. It works in ie, opera, but not in Firefox.My main question is.. Is there an easy way of adding options in compatible mode that works for all browsers?i get this message in firefox consolens_error_xpc_not_enough_argsFel: uncaught exception: [Exception... "Not enough arguments [nsIDOMHTMLSelectElement.add]" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: theurl :: line 1111" data: no]my function call looks like thisfunction changeSelectOptions(){var userselectedYearMonth=document.getElementById("selectYearMonth").value;var year=userselectedYearMonth.substring(0,4);var month=userselectedYearMonth.substring(5);DaysObject=document.getElementById("dateselect");CurrentDaysInSelection = DaysObject.length;DaysForThisSelection = DaysInMonth(month, year); if (DaysForThisSelection > CurrentDaysInSelection) { for (i=0; i<(DaysForThisSelection-CurrentDaysInSelection); i++) { NewOption = new Option(DaysObject.options.length + 1); DaysObject.add(NewOption); } } }