Is it possible to disable weekends in jQuery Datepicker?

Hey everyone! I’ve been playing around with jQuery Datepicker and was wondering if there’s a way to disable weekends. I’m working on a small project that involves booking appointments specifically for bookkeeping services and I need to make sure users can only pick weekdays. Has anyone done this before or know the best way to do it? I’ve seen some stuff about using beforeShowDay, but I’m not sure how to apply it properly. Would need a quick example or any tips. Thanks in advance, this would really help streamline my bookkeeping appointment form! 


1 Reply

LD LeoLavanya Dhanaraj Syncfusion Team July 3, 2025 07:06 AM UTC

Hi Romar,


Greetings from Syncfusion support.


Based on the details you provided, we understand that you are requesting access to the EJ1 (jQuery) installer or libraries and that you would like to install these assemblies for use in Visual Studio. We would like to inform you that our EJ1 products have been declared as retired since our Volume 4 SP release, and there will not be further active support, bug fixes or improvement to the EJ1 controls. Please refer to the release notes and KB for further information.


Release Notes :
https://help.syncfusion.com/js/release-notes/v20.4.0.44?type=all


KB : https://support.syncfusion.com/kb/article/15550/syncfusion-ej1-products-have-been-marked-as-retired


The EJ2 components offer many new features and capabilities and are designed to be compatible with EJ1 components. We have also included a link to our compatibility documentation for your reference.


Compatibility documentation : https://help.syncfusion.com/js/compatibility-ej1-ej2       


The EJ2 components offer many new features and capabilities and are designed to be compatible with EJ1 components. We have also included a link to our compatibility documentation for your reference.


Compatibility documentation : https://help.syncfusion.com/js/compatibility-ej1-ej2       


We recommend considering the use of the Date Picker EJ2 component, and we have included a link to the component documentation for your reference.


EJ2 documentation :
https://ej2.syncfusion.com/javascript/documentation/datepicker/es5-getting-started


EJ2 Demo : https://ej2.syncfusion.com/javascript/demos/#/tailwind3/datepicker/default.html


API reference : https://ej2.syncfusion.com/javascript/documentation/api/datepicker/


Refer the shared details and get back to us if you need any further assistance.


Regards,

Leo Lavanya Dhanaraj


Loader.
Up arrow icon