I essentially have the same situation as the person in the following question:
Link: how to show/hide divs by select.(jquery)
Through extensive searching wit
This code is a little more succinct:
$(document).ready
(
function()
{
$("div.box").hide();
$("#dropdown").change
(
function()
{
var selectedValue = $(this).val();
if(selectedValue !== "0")
{
$("div.box").show();
$("#div" + selectedValue).hide();
}
}
);
}
};
Essentially, if there is a value selected (i.e., the option is not set to "Choose"), then all div.box elements are shown. The DIV matching the selected option is then hidden. This should happen quickly enough so that the flash is not noticeable.