Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to make the previous day from today to be readonly?

 
Minh Nguyen Hung
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the calendar javascript code



JSP code (I only post the related with calendar so we can focus on these)



From what i debug, function createCalender might be the key to do it. Cause it draws the date of month. But somehow I have no clue how to do it. Please someone helps me. Thanks in advances.
 
Minh Nguyen Hung
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Done it by compare date in function pickDate
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic