In 'Leave Type' dropdown there are 3 fields casual leave, maternity leave. 1,2,3,4,5... these are the date fields , I have converted these fields into days.
I want to ensure that if 'Leave Type' selected index is 0 then I couldn't check the check box.
function(LeaveTypeSelectedIndex,chk)
{
if(LeaveTypeSelectedIndex==0)
{
chk..checked = false;
}
}
I have tried but i'm not going to my destination. how do i do that. And Thanks in Advance