I used new Option to dynamically fill a select; it works well in NS however
it doesn't in IE because it makes the server to throw an exception. I'd really
appreciate sime help. This is the code

<Script language="javascript"><!--
function generaDatos() {
if (window.opener && !window.opener.closed) {
window.opener.document.capturaLineasInv.p_cveLinea.length=1
window.opener.document.capturaLineasInv.p_cveLinea[0] = new Option("No
hay lineas catalogadas es esta area","-1",true,true)
}
window.close()
}
//--></script>

Thanks,
Cristina