sthsyed says:
<
script
type
=
"text/javascript"
>
$(document).ready(function () {
var daysToAdd = 4;
$("#txtFromDate").datepicker({
dateFormat: "dd/mm/yy"
});
$("#txtToDate").datepicker({
dateFormat: "dd/mm/yy"
});
});
</
script
>
<
script
type
=
"text/javascript"
>
$(function () {
$("#chkAddUserYes").change(function () {
var ischecked = $(this).is(":checked");
if (ischecked) {
$("#chkAddUserNo").removeAttr("checked");
}
});
$("#chkAddUserNo").change(function () {
var ischecked = $(this).is(":checked");
if (ischecked) {
$("#chkAddUserYes").removeAttr("checked");
}
});
})
</
script
>
replace above with below
<script type="text/javascript">
$(document).ready(function () {
var daysToAdd = 4;
$("[id*=txtFromDate]").datepicker({
dateFormat: "dd/mm/yy"
});
$("[id*=txtToDate]").datepicker({
dateFormat: "dd/mm/yy"
});
});
</script>
<script type="text/javascript">
$(function () {
$("[id*=chkAddUserYes]").change(function () {
var ischecked = $(this).is(":checked");
if (ischecked) {
$("[id*=chkAddUserNo]").removeAttr("checked");
}
});
$("[id*=chkAddUserNo]").change(function () {
var ischecked = $(this).is(":checked");
if (ischecked) {
$("[id*=chkAddUserYes]").removeAttr("checked");
}
});
})
</script>