Depending on which transaction and search is selected in my select box, the page gets reformatted with only the elements needed (some text boxes disappear...). For some reason, when toggling between two of my searches, I lose the filer city row. Once it goes to hidden, I cannot make it become visible again. It is obvious on the screen because it becomes an empty row, just white space between the filer name and filer type rows. I've looked at the places where I place the row visible, and I think I've covered them all.
Here's where the javascript toggles the rows:
switch (switchElement) /*print the filer name/id block*/
{
case "11":
case "21":
case "31":
case "41":
case "51":
case "61":
elementFilerNarrow.style.display = "";
elementFilerNarrow.style.visibility = "visible";
elementFilerLast.style.display = "";
elementFilerLast.style.visibility = "visible";
elementFilerFirst.style.display = "";
elementFilerFirst.style.visibility = "visible";
alert("toggle filer city 11/21/31...");
elementFilerCity.style.display = "";
elementFilerCity.visibility = "visible";
elementType.style.display = "";
elementType.style.visibility = "visible";
elementID.style.display = "none";
elementID.style.visibility = "hidden";
break;
case "12":
case "22":
case "32":
case "42":
case "52":
case "62":
elementFilerNarrow.style.display = "none";
elementFilerNarrow.style.visibility = "hidden";
elementFilerLast.style.display = "none";
elementFilerLast.style.visibility = "hidden";
elementFilerFirst.style.display = "none";
elementFilerFirst.style.visibility = "hidden";
alert("toggle filer city 12/22/32...");
elementFilerCity.style.display = "none";
elementFilerCity.style.visibility = "hidden";
elementType.style.display = "none";
elementType.style.visibility = "hidden";
elementID.style.display = "";
elementID.style.visibility = "visible";
break;
case "13":
case "23":
case "33":
case "43":
case "53":
case "63":
elementFilerNarrow.style.display = "";
elementFilerNarrow.style.visibility = "visible";
elementFilerLast.style.display = "";
elementFilerLast.style.visibility = "visible";
elementFilerFirst.style.display = "";
elementFilerFirst.style.visibility = "visible";
alert("toggle filer city 13/23/33...");
elementFilerCity.style.display = "";
elementFilerCity.visibility = "visible";
elementType.style.display = "";
elementType.style.visibility = "visible";
elementID.style.display = "";
elementID.style.visibility = "visible";
break;
}