When I make my datepicker read-only, I see that the user cannot type anything into the text box.
$(\"#datepicker\").attr(\'readonly\', \'readonly\');
Works for me.