title: How to disable dates after current date in javascript calender
body: <p>I want to disable the dates after the current date in my program.</p>
  
  <p>I have a date picker written in JavaScript.</p>
  
  <p>My JavaScript code:</p>
  
  <p><a href="http://csmagik.blogspot.com/2012/01/how-to-disbale-dates-after-current-date.html" rel="nofollow"> Click here to view my JavaScript code. </a>
  Please help me in making necessary changes so as to disable the future date, i.e dates up to current date are only to be displayed.</p>