title: Disabling future date
body: <p>i have code in j query for date-picker. but now i want to disable the future date in j query calender. the date picker is working fine but my problem is to disable the future date from the current date. i.e the cannot select the date in future..</p>
  
  <pre><code>$(function(){
  $("#datepicker1").datepicker();
  $( "#datepicker1" ).datepicker( "option", "dateFormat", "yy-mm-dd");
  
  $("#datepicker2").datepicker();
  $( "#datepicker2" ).datepicker( "option", "dateFormat", "yy-mm-dd");
  });
  </code></pre>