1

Might anyone know what I need to add to one of the best calendar widgets out there to disable future dates?

$("#div").AnyTime_picker({latest:(new Date())});
user1040259
  • 6,369
  • 13
  • 44
  • 62
  • RTFM—it already has switches for [earliest](http://www.ama3.com/anytime/#AnyTime.picker.earliest) and [latest](http://www.ama3.com/anytime/#AnyTime.picker.latest). – RobG Jan 13 '12 at 00:52
  • @RobG Does this seem right? $("#div").AnyTime_picker({latest:(new Date())}); – user1040259 Jan 16 '12 at 22:35
  • Dunno, I don't use it. I just went to the site an poked through the documentation, but what you have looks ok. – RobG Jan 16 '12 at 22:53

0 Answers0