pop up LOV does not work with Netscape 7
I have a pop up LOV that I defined following the instructions at http://otn.oracle.com/products/database/htmldb/howtos/how_to_create_custom_popups.html
The pop up works fine in IE, but when I run it in Netscape 7 I get the javascript error:
Error: opener.document.getElementById("P50_CUST_PROJECT_NAME") has no properties
The code is:
<script language="JavaScript">
function passBack(passVal1, passVal2)
{
if (passVal2== "create_cust")
{
opener.document.getElementById("P50_CUSTOMER_TASKNO").value = passVal1;
opener.document.getElementById("P50_CUSTOMER_TASKNO").focus();
}
else if (passVal2== "create_supp")
{
opener.document.getElementById("P50_SUPPLIER_TASKNO").value = passVal1;
opener.document.getElementById("P50_SUPPLIER_TASKNO").focus();
}
else if (passVal2== "update_cust")
{
opener.document.getElementById("P147_CUSTOMER_TASKNO").value = passVal1;
opener.document.getElementById("P147_CUSTOMER_TASKNO").focus();
}
else if (passVal2== "update_supp")
{
opener.document.getElementById("P147_SUPPLIER_TASKNO").value = passVal1;
opener.document.getElementById("P147_SUPPLIER_TASKNO").focus();
}
else
{alert("Cannot determine where to return values from page 95")
}
close();
}
</script>
Any hints?
Regards,
Neal