ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Disable previous Dates in Input Type Date (TextMode Date) using jQuery in ASP.Net<p>Hi&nbsp;<a class="username" rel="nauna">nauna,</a></p> <p>To disable&nbsp;previous dates use&nbsp;<strong>min</strong> attribute.</p> <p>Check this example. Now please take its reference and correct your code.</p> <p><strong><span style="text-decoration: underline;">HTML</span></strong></p> <pre class="brush: html">&lt;script type=&#34;text/javascript&#34; src=&#34;https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js&#34;&gt;&lt;/script&gt; &lt;script type=&#34;text/javascript&#34;&gt; $(function () { var today = new Date(); var month = (&#39;0&#39; + (today.getMonth() + 1)).slice(-2); var day = (&#39;0&#39; + today.getDate()).slice(-2); var year = today.getFullYear(); var date = year + &#39;-&#39; + month + &#39;-&#39; + day; $(&#39;[id*=txtdateofreservation]&#39;).attr(&#39;min&#39;, date); }); &lt;/script&gt; &lt;asp:TextBox ID=&#34;txtdateofreservation&#34; runat=&#34;server&#34; TextMode=&#34;Date&#34;&gt;&lt;/asp:TextBox&gt;</pre> <p><strong><span style="text-decoration: underline;">Screenshot</span></strong></p> <p><strong><span style="text-decoration: underline;"><img src="https://i.imgur.com/i4Fb8f1.jpg" alt="" width="271" height="249" /></span></strong></p>https://www.aspforums.net:443/Threads/151421/Disable-previous-Dates-in-Input-Type-Date-TextMode-Date-using-jQuery-in-ASPNet/https://www.aspforums.net:443/Threads/151421/Disable-previous-Dates-in-Input-Type-Date-TextMode-Date-using-jQuery-in-ASPNet/Thu, 20 Jun 2019 03:45:24 GMT