I am trying to create a drop-down select menu that will consist of three select boxes, where the 3rd box will show/hide specific option based on an option selected in the 1s
Updated the 3rd select
jquery code.
$("#select_1").change(function(){
var selectedVal = $(this).val();
if(selectedVal == "Mens Suits")
{
$(".women,.children").hide();
$(".men").show();
}
else if(selectedVal == "Womens Suit")
{
$(".men,.children").hide();
$(".women").show();
}
else
{
$(".women,.children").hide();
$(".children").show();
}
});