 <p>After the click on day it is not adding the class, so see if this helps</p> <pre><code>$(".ui-datepicker-current-day").click(function(){ $(this).parent().addClass('current-week'); }); </code></pre>