13 lines
188 B
JavaScript
13 lines
188 B
JavaScript
function switchDateTodo(switcher)
|
|
{
|
|
if(switcher.checked)
|
|
{
|
|
$('#date').attr('disabled','disabled');
|
|
}
|
|
else
|
|
{
|
|
$('#date').removeAttr('disabled');
|
|
}
|
|
}
|
|
|