for some reason for the 1st time it is working fine but when i am changeing the dropdownlist view the event is not gonna fired i have check the id the clientIdMode everything is ok but for second time it is not gonna work any solution for this
Thanks
<script>
$(document).ready(function () {
var exactLocation = $('#ExactEstateLocation');
var fexactLoation = $('#FExactEstateLocation');
$('#ddlPropLocation').on('change', function () {
var ddlvalue = $(this).value;
if (ddlvalue != '1') {
exactLocation.addClass('hidden');
fexactLoation.removeClass('hidden');
}
else
{
fexactLoation.addClass('hidden');
exactLocation.removeClass('hidden');
}
});
});
</script>