I have a solution to the original question which asked how to pass a variable value from a top frame to a targeted middle frame. The top frame has a JaveScript drop down menu with the following:
<CENTER><P><SELECT NAME="TheA" value="" onchange=switchA()>
<OPTION SELECTED>Page_A
<OPTION VALUE="feedback.php?thisVar=One&thatVar=Four">Page_A_One
<OPTION VALUE="feedback.php?thisVar=Two&thatVar=Five">Page_A_Two
<OPTION VALUE="feedback.php?thisVar=Three&thatVar=Six">Page_A_Three
</SELECT></P></CENTER>
The JavaScript switchA() function is:
function switchA() {
var listA = document.forms[0].TheA;
var chosenItemA = listA.options[listA.selectedIndex].text;
if (chosenItemA == "Page_A") {
return false;
}else {
var listA = document.forms[0].TheA;
parent.middle.location = listA.options[listA.selectedIndex].value;
parent.head.location = "head.php";
}
}
The middle frame is refreshed by the feedback.php and that frame can display both variables obtained by the drop down selection using echo $GET['thisVar'] and echo $GET['thatVar']. But the refresh of the top frame cannot pass the variable values using the "head.php" file.