<script type="text/javascript">
$(document).ready(function() {
$('#Catid').change(function(){
var optvalue = $(this).val(),
div = $('#' + 'parentid' + optvalue);
$('div').hide();
div.show();
});
});
</script>
Im getting a console error but I have no idea why