In my php-file, I want to use the jQuery Datepicker.
When my file loads, I create the Datepicker disabled.
Then, when a special field in my php-file (it is a
Well You can remove datepicker by simply remove hasDatepicker class from input.
hasDatepicker
Code
$( "#from" ).removeClass('hasDatepicker')