Hi, I have deployed asp.net mvc 2 application successfully. but let say there is view fro create user where I used code for datetime picker :
<script type="text/javascript">
$(function() {
$('#DateOfBirth').datepicker({ dateFormat: 'dd/MM/yy',
changeMonth: true,
changeYear: true
});
});
</script>
This is working fine. But same code I used on Edit view for the user . but not working . why should not this ?
Edit View script for datetimepicker is :
<script type="text/javascript">
$(function() {
$('#DateOfBirth').datepicker({ dateFormat: 'dd/MM/yy',
changeMonth: true,
changeYear: true
});
});
</script>