I need to hide or show a combo depending on the value of the another combo, find my code below:
Nazione
test="${residence_nation.???==106}">
Provincia
Provincia
" >
I don't know how to use residence_nation option value using JSTL.
find also my JavaScript
$("#residence_nation").change(function()
{
if ($(this).val()!=106)
{
$('#residence_province').hide();
$('#residence_city').hide();
$('#residence_province_input').show();
}else
{
$('#residence_province').show();
$('#residence_city').show();
$('#residence_province_input').hide();
}
});
Does anyone know how I can do that?