# How to disable past days with jscalendar?

**URL:** <https://www.ruby-forum.com/t/how-to-disable-past-days-with-jscalendar/103203>\
**Category:** Rails\
**Created:** [May 2, 2007, 10:14pm UTC](https://www.ruby-forum.com/t/how-to-disable-past-days-with-jscalendar/103203 "2007-05-02T22:14:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fernando](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/779978/32.png) [@fernando](https://www.ruby-forum.com/u/fernando)\
**Post date:** [May 2, 2007, 10:14pm UTC](https://www.ruby-forum.com/t/how-to-disable-past-days-with-jscalendar/103203/1 "2007-05-02T22:14:56Z")

</div>

I want to display a calendar, but I don’t want let the user to select  
days from the past.

I tried with disableFunc, but i couldn’t make it work.  
Any help?  
Thank you a lot.
