I have a form with popups. the user clicks a link on the form and a popup with choices are displayed..after the user makes their choices, then clicks a Submit button, these choices are automatically sent to the right textbox in the original form..
here’s thelink on the original form:
<a href=”markGrLogos.html” onClick=”NewWin=window.open(this.href); return false;”>Click
to select options</a>
on the popup, the submit button triggers a function, here it is:
<script>
function send() {
var blank;
var mess;
var newlogo = “”;
blank=”You do not wish to select any logos?”;
mess=”Your current selection(s) for Logos are:n”;
//Validation
if ((document.logos.Oth.checked) && (document.logos.othLogos.value==””)) {
alert(“You must specify what you want if you have selected ‘Other’ as an option.”);
return false;
}
if ((!document.logos.Oth.checked) && (document.logos.othLogos.value!=””)) {
alert(“You must select ‘Other’ as an option.”);
return false;
}
if (document.logos.WEG.checked) {
newlogo += “n” + ” Woodbine Entertainment Group”;
}
if (document.logos.Woodbine.checked) {
newlogo += “n” + ” Woodbine”;
}
if (document.logos.Mohawk.checked) {
newlogo += “n” + ” Mohawk”;
}
if (document.logos.HPI.checked) {
newlogo += “n” + ” HorsePlayer Interactive”;
}
if (document.logos.HPR.checked) {
newlogo += “n” + ” HorsePlayer Rewards”;
}
if (document.logos.TRN.checked) {
newlogo += “n” + ” TRN”;
}
if (document.logos.Champ.checked) {
newlogo += “n” + ” Champions”;
}
if (document.logos.Oth.checked) {
newlogo += “n” + ” Other: ” + document.logos.othLogos.value;
}
if (newlogo!=””) {
if(confirm(mess + newlogo)) {
window.opener.document.Layer11.document.graphics.Logos.value=newlogo;
window.close();
} else return false;
} if (newlogo==””) {
if (confirm(blank)) {
window.opener.document.Layer11.document.graphics.Logos.value=newlogo;
window.close();
}
else return false;
}
}
</script>
This works fine in Netscape 4.7x. How can I alter this so that it will also work in IE6??
THANKS ALL!!!