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.
Disable Checkbox by comparing dates
Post a Reply
|Oldest Newest Rating|
· March 5, 2015
For that you can use Radio Boxes:
Hope I helped ! If you help with anything else, feel free to ask!
|Abdullah Nauman Administrator|