Use ```$("#date_date").attr("disabled","disabled")``` instead of ```$("#date_date")[0].disabled = false```

Mixing jQuery and plain JavaScript does not look nice...

[The same problem is few lines below.]