jQuery: enabling/disabling datepicker
$("#from").datepicker('disable');
should work, but you can also try this:
$( "#from" ).datepicker( "option", "disabled", true );
Also set the field to disabled when you disable the datePicker e.g
$("input").prop('disabled', true);
To stop the image being clickable you could unbind the click event on that
$('img#<id or class ref>').unbind('click');
try
$("#from").datepicker().datepicker('disable');
simply use the following code
$("#from").datepicker({
showOn: "off"
});
it will not show the display of datepicker
$("#nicIssuedDate").prop('disabled', true);
This is works 100% with bootstrap Datepicker