I am developing an application that will be used in both Windows 2000 and Mac os 10. Windows/IE works fine but when I get to the Mac, I get an error in the data field stating that it is undefined. This is the code that I am using:
var ataReturn = "";
ataReturn = document.emtyFormBean.ataReturn.options.value
if(ataReturn == "")
{
alert("Please Select a ATA Chapter/Section")
}else{
opener.document.aosMaskFormBean.ata.value = ataReturn;
opener.document.aosMaskFormBean.ata_desc.value = "Updated on save";
self.close();
}
Any help as to why Netscape and Firefox both give me an undefined error message?
var ataReturn = "";
ataReturn = document.emtyFormBean.ataReturn.options.value
if(ataReturn == "")
{
alert("Please Select a ATA Chapter/Section")
}else{
opener.document.aosMaskFormBean.ata.value = ataReturn;
opener.document.aosMaskFormBean.ata_desc.value = "Updated on save";
self.close();
}
Any help as to why Netscape and Firefox both give me an undefined error message?