<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: jQuery UI DatePicker:  Disable Specified&#160;Days</title> <atom:link href="http://davidwalsh.name/jquery-datepicker-disable-days/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/jquery-datepicker-disable-days</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 09 Feb 2012 15:40:33 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: Thom</title><link>http://davidwalsh.name/jquery-datepicker-disable-days/comment-page-1#comment-28902</link> <dc:creator>Thom</dc:creator> <pubDate>Thu, 02 Feb 2012 16:05:49 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4673#comment-28902</guid> <description>Thanks a bunch! Your walk-through totally did the trick on a resort-booking application I&#039;m working on!</description> <content:encoded><![CDATA[<p>Thanks a bunch! Your walk-through totally did the trick on a resort-booking application I&#8217;m working on!</p> ]]></content:encoded> </item> <item><title>By: jitesh</title><link>http://davidwalsh.name/jquery-datepicker-disable-days/comment-page-1#comment-27875</link> <dc:creator>jitesh</dc:creator> <pubDate>Sat, 10 Dec 2011 09:05:29 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4673#comment-27875</guid> <description>Hi, david can you please tell me how can i change css of specific dates..?</description> <content:encoded><![CDATA[<p>Hi, david can you please tell me how can i change css of specific dates..?</p> ]]></content:encoded> </item> <item><title>By: Gulio</title><link>http://davidwalsh.name/jquery-datepicker-disable-days/comment-page-1#comment-27872</link> <dc:creator>Gulio</dc:creator> <pubDate>Fri, 09 Dec 2011 15:26:13 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4673#comment-27872</guid> <description>Fixed already:return [0] ? nationalDays(date) : noWeekend;</description> <content:encoded><![CDATA[<p>Fixed already:</p><p>return [0] ? nationalDays(date) : noWeekend;</p> ]]></content:encoded> </item> <item><title>By: Gulio</title><link>http://davidwalsh.name/jquery-datepicker-disable-days/comment-page-1#comment-27871</link> <dc:creator>Gulio</dc:creator> <pubDate>Fri, 09 Dec 2011 15:23:25 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4673#comment-27871</guid> <description>Thanks for this nice code. Is there any simple way to just only disable the disableddays, but keep showing the weekends?Thanks already!</description> <content:encoded><![CDATA[<p>Thanks for this nice code. Is there any simple way to just only disable the disableddays, but keep showing the weekends?</p><p>Thanks already!</p> ]]></content:encoded> </item> <item><title>By: Timur</title><link>http://davidwalsh.name/jquery-datepicker-disable-days/comment-page-1#comment-26879</link> <dc:creator>Timur</dc:creator> <pubDate>Tue, 13 Sep 2011 11:17:35 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4673#comment-26879</guid> <description>Damn it David. Is there anything your blog does not have. All the solutions are here. Thank you very much :)</description> <content:encoded><![CDATA[<p>Damn it David. Is there anything your blog does not have. All the solutions are here. Thank you very much :)</p> ]]></content:encoded> </item> <item><title>By: Stefan Gabos</title><link>http://davidwalsh.name/jquery-datepicker-disable-days/comment-page-1#comment-24444</link> <dc:creator>Stefan Gabos</dc:creator> <pubDate>Fri, 17 Jun 2011 14:25:08 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4673#comment-24444</guid> <description>See also http://stefangabos.ro/jquery/zebra-datepicker/ where the disabling of dates is much easier using a syntax similar to cron&#039;s</description> <content:encoded><![CDATA[<p>See also <a
href="http://stefangabos.ro/jquery/zebra-datepicker/" rel="nofollow">http://stefangabos.ro/jquery/zebra-datepicker/</a> where the disabling of dates is much easier using a syntax similar to cron&#8217;s</p> ]]></content:encoded> </item> <item><title>By: Virendra Dugar</title><link>http://davidwalsh.name/jquery-datepicker-disable-days/comment-page-1#comment-24289</link> <dc:creator>Virendra Dugar</dc:creator> <pubDate>Wed, 01 Jun 2011 05:37:50 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4673#comment-24289</guid> <description>Well, there is a better way to disable only the weekends.&lt;code&gt;
$(function() {
$(&#039;#&#039;).datepicker({
beforeShowDay: $.datepicker.noWeekends
});
});
&lt;/code&gt;http://jquerybyexample.blogspot.com/2010/07/disable-weekends-in-jquery-ui.html</description> <content:encoded><![CDATA[<p>Well, there is a better way to disable only the weekends.</p><p><code><br
/> $(function() {<br
/> $('#').datepicker({<br
/> beforeShowDay: $.datepicker.noWeekends<br
/> });<br
/> });<br
/> </code></p><p><a
href="http://jquerybyexample.blogspot.com/2010/07/disable-weekends-in-jquery-ui.html" rel="nofollow">http://jquerybyexample.blogspot.com/2010/07/disable-weekends-in-jquery-ui.html</a></p> ]]></content:encoded> </item> <item><title>By: Virendra Dugar</title><link>http://davidwalsh.name/jquery-datepicker-disable-days/comment-page-1#comment-24288</link> <dc:creator>Virendra Dugar</dc:creator> <pubDate>Wed, 01 Jun 2011 05:34:00 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4673#comment-24288</guid> <description>Well, there is a better way to disable only the weekends.$(function() {
$(&#039;#&#039;).datepicker({
beforeShowDay: $.datepicker.noWeekends
});
});http://jquerybyexample.blogspot.com/2010/07/disable-weekends-in-jquery-ui.html</description> <content:encoded><![CDATA[<p>Well, there is a better way to disable only the weekends.</p><p>$(function() {<br
/> $(&#8216;#&#8217;).datepicker({<br
/> beforeShowDay: $.datepicker.noWeekends<br
/> });<br
/> });</p><p><a
href="http://jquerybyexample.blogspot.com/2010/07/disable-weekends-in-jquery-ui.html" rel="nofollow">http://jquerybyexample.blogspot.com/2010/07/disable-weekends-in-jquery-ui.html</a></p> ]]></content:encoded> </item> <item><title>By: mike</title><link>http://davidwalsh.name/jquery-datepicker-disable-days/comment-page-1#comment-24255</link> <dc:creator>mike</dc:creator> <pubDate>Sat, 28 May 2011 04:00:33 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4673#comment-24255</guid> <description>whoops...fixed code post:&lt;code&gt;
function noBefore(date){
if (date &lt; new Date()){
return [false];
}
return [true];
}/* create datepicker &amp; timepicker*/
jQuery(document).ready(function() {
jQuery(&#039;#datepicker&#039;).datepicker({
minDate: new Date(2011, 5, 1),
dateFormat: &#039;dd/mm/yy&#039;,
constrainInput: true,
beforeShowDay: noBefore
});
});
&lt;/code&gt;</description> <content:encoded><![CDATA[<p>whoops&#8230;fixed code post:</p><p><code><br
/> function noBefore(date){<br
/> if (date &lt; new Date()){<br
/> return [false];<br
/> }<br
/> return [true];<br
/> }</p><p>/* create datepicker &amp; timepicker*/<br
/> jQuery(document).ready(function() {<br
/> jQuery(&#039;#datepicker&#039;).datepicker({<br
/> minDate: new Date(2011, 5, 1),<br
/> dateFormat: &#039;dd/mm/yy&#039;,<br
/> constrainInput: true,<br
/> beforeShowDay: noBefore<br
/> });<br
/> });<br
/> </code></p> ]]></content:encoded> </item> <item><title>By: mike</title><link>http://davidwalsh.name/jquery-datepicker-disable-days/comment-page-1#comment-24254</link> <dc:creator>mike</dc:creator> <pubDate>Sat, 28 May 2011 03:59:07 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4673#comment-24254</guid> <description>Seb I wanted the same result - to disable all previous dates but I cant seem to get your version working. Old dates are still selectable using the below:function noBefore(date){
if (date &lt; new Date()){
return [false];
}
return [true];
}jQuery(document).ready(function() {
jQuery(&#039;#datepicker&#039;).datepicker({
minDate: new Date(2011, 5, 1),
dateFormat: &#039;dd/mm/yy&#039;,
constrainInput: true,
beforeShowDay: noBefore
});
});@Harish: Wasn&#039;t sure what minDate was meant to replace.I&#039;&#039;m not a coder so I&#039;m just grabbing code here and trying to mesh it together.</description> <content:encoded><![CDATA[<p>Seb I wanted the same result &#8211; to disable all previous dates but I cant seem to get your version working. Old dates are still selectable using the below:</p><p>function noBefore(date){<br
/> if (date &lt; new Date()){<br
/> return [false];<br
/> }<br
/> return [true];<br
/> }</p><p>jQuery(document).ready(function() {<br
/> jQuery(&#039;#datepicker&#039;).datepicker({<br
/> minDate: new Date(2011, 5, 1),<br
/> dateFormat: &#039;dd/mm/yy&#039;,<br
/> constrainInput: true,<br
/> beforeShowDay: noBefore<br
/> });<br
/> });</p><p>@Harish: Wasn&#039;t sure what minDate was meant to replace.</p><p>I&#039;&#039;m not a coder so I&#039;m just grabbing code here and trying to mesh it together.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/20 queries in 0.013 seconds using disk: basic
Object Caching 865/872 objects using disk: basic

Served from: davidwalsh.name @ 2012-02-09 10:41:47 -->
