I am trying to write the checkbox value into another popup window but it does not work in Netscape 7. I get an error in the javascript console saying.... ' document.all has no properties '. Below is an example of the section of code I am using.
list += "</table>";
var nametitle = "";
if(document.all.MR.checked) { nametitle = "Mr."; }
if(document.all.MISS.checked) { nametitle = "Miss."; }
if(document.all.MRS.checked) { nametitle = "Mrs."; }
along with....
list += "<html><body><font color='#ff9900' face='Verdana, Arial, Helvetica' size='2'>Title<br><font color='#000000' face='Verdana, Arial, Helvetica' size='2'><hr size=\"1\" width=\"100%\">" + "Name: " + nametitle + "<br>";
Any help would be greatly appreciated.
list += "</table>";
var nametitle = "";
if(document.all.MR.checked) { nametitle = "Mr."; }
if(document.all.MISS.checked) { nametitle = "Miss."; }
if(document.all.MRS.checked) { nametitle = "Mrs."; }
along with....
list += "<html><body><font color='#ff9900' face='Verdana, Arial, Helvetica' size='2'>Title<br><font color='#000000' face='Verdana, Arial, Helvetica' size='2'><hr size=\"1\" width=\"100%\">" + "Name: " + nametitle + "<br>";
Any help would be greatly appreciated.