First of all, just make sure not to use the same string for the identifier and the name property. And for God's sake, do not define your class with a reserved word like input, its and inner class / element. Go for something like pickerClass. In addition, I think your jQuery selector syntax is incorrect, there is no need for an input part, you already have an identifier for this element. It:
$("#dateTill").datepicker();
OR
$("input.pickerClass").datepicker();
- .
, CSS-, CSS, .