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'>
More Related Contents:
- jquery ui datepicker and mvc view model type datetime
- jQuery Datepicker onchange event issue
- jQuery Date Picker – disable past dates
- jQuery UI Datepicker onchange event issue
- jQuery UI Datepicker – Multiple Date Selections
- Jquery datepicker restrict dates in second date field based on selected date in first date field
- Unobtrusive validation in Chrome won’t validate with dd/mm/yyyy
- How to get the selected date value while using Bootstrap Datepicker?
- Disable specific days of the week on jQuery UI datepicker [duplicate]
- jQuery UI Datepicker – Disable specific days
- Twitter Bootstrap Datepicker within modal window
- jQuery UI Datepicker enable only specific days in array
- Jquery datepicker – only day and month
- how to add a day to a date using jquery datepicker
- Limit bootstrap-datepicker to weekdays only?
- How can I enable jquery validation on readonly fields?
- jQuery datepicker- 2 inputs/textboxes and restricting range
- Open JQuery Datepicker by clicking on an image w/ no input field
- Highlight dates in specific range with jQuery’s datepicker
- Changing minDate and maxDate on the fly using jQuery DatePicker
- How to dynamically set bootstrap-datepicker’s date value?
- Detect change to selected date with bootstrap-datepicker
- Jquery Date picker Default Date
- JQuery UI Datepicker, reverse the order of the year in the dropdowns
- JQuery DatePicker and beforeShowDay
- JQuery DatePicker ReadOnly
- JQuery Datepicker – no default date
- Jquery version for $(“#submit”).on(“click”, function(){
- Stop a gif animation onload, on mouseover start the activation
- How do you fade in/out a background color using jquery?