Disable Checkbox by comparing dates

0 Harshit Punn · March 1, 2015
I am working on a project and need some help. I want to do something like this

1. This is checkbox 1 (2015-03-02 to 2015-03-09)

2. This is checkbox 2(2015-03-05 to 2015-03-15)

3. This is checkbox 3(2015-03-13 to 2015-03-19)

All the checkbox are having same class and their data is extracted from database. 
If i check checkbox 1 then checkbox 2 should get disabled as date of checkbox2 is lying in the duration of dates of checkbox 1. Simillarly when checkbox 2 is checked then checbox1 and checkbox 3 should get disabled because of dates. This will happen with a large number of checkboxes.

Post a Reply

Replies

Oldest  Newest  Rating
0 Branislav Lazic · March 1, 2015
What is your programming language?
  • 1

Linux

107,192 followers
About

Linux is a free and open source software operating system for computers.

Links
Moderators
Bucky Roberts Administrator