jQuery Datepicker with text input that doesn’t allow user input

You should be able to use the readonly attribute on the text input, and jQuery will still be able to edit its contents.

<input type="text" id='foo' readonly='true'>

Leave a Comment