I\'ve been searching for a way to do this, but could not find anything
I want to have a:
Disabled input text field, called #XX. This input will
Might be to late but I just did this
$("#firstDate").datepicker({
onSelect: function () {
myfunc();
}
});
$("#secondDate").datepicker({
showOn: ''
});
function myfunc(){
var fDate = $('#firstDate');
var sDate = $('#secondDate');
sDate.val(fDate.val());
}
It doesn't show the datepicker clicking the input and doesn't display the button to show the datepicker. Disabled doesn't work in my case because I need to extract the value from that input field.