Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!