form.submit(); //submit your form opener.location.reload(); /*update your page. May be better if servlet, that updates your bean will set some value to session, and your JSP will check this value, and ig it set, update contents and remove this value.*/ setTimeout("self.close()", 100); // close your page, but give // your browser some time
I could create new option in Netscape , but not in IE . Getting "server error" on IE. Is there different approach for creating new Option on IE ...?? Thanks for your continued help.
Originally posted by Yuriy Fuksenko: Following code add option to select: var opt = new Option('text', 'value'); document.formName.selectName.options[document.formName.selectName.options.length] = opt;