How can i rename the Done button text to "Close", the code as follows,
jQuery("#fromDatepicker, #toDatepicker").datepicker({
showButtonPanel: true,
changeMonth : true,
changeYear : true,
dateFormat: 'mm/dd/yy',
});
the above code displays JQuery datepicker calendar, Done button is present in Button Panel, i would like to change the "Done" text to "Close". Please any one help me.
You should add the closeText
option to your call.
jQuery("#fromDatepicker, #toDatepicker").datepicker({
showButtonPanel: true,
changeMonth : true,
changeYear : true,
dateFormat: 'mm/dd/yy',
closeText : "Close"
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With