[B]Works in Internet Explorer but displays incorrectly in Firefox and Safari.
Is dispalying [object HTMLHeadElement] rather than what I expected. Let me know if you need to see more of the code. This is a large script. A vendor told us this was caused by element ‘paneBody’ not existing or not loaded or being null. I don’t know how to fix. I am a Cobol developer, not a web developer. Any isight would be greatly appreciated! ?
var electionsFrame = null;
var electionsContent = “”;
function writeElectionsContent()
{
electionsFrame.document.getElementById(“paneBody”).innerHTML = electionsContent;
if(event==”annual” || rule_type==”A”) {
electionsFrame.document.getElementById(“paneHeader”).innerHTML = getSeaPhrase(“ELECTIONS_AS_OF”,”BEN”)+’ ‘+newdate;;
}
else {
electionsFrame.document.getElementById(“paneHeader”).innerHTML = getSeaPhrase(“BEN_ELECT”,”BEN”);
}
electionsFrame = null;
electionsContent = “”;