1
I have two input’s one for start date and one for end date, I need to create a condition on javascript
(jquery) for case the range is less than one month, example: I will disable a button if the range is less than 1 month.
Follow my current code: Here.
Note: I could not make the code work right here in the post, if someone can edit thank you.
UPDATE I managed using the tip from the friend below, I just made a few adjustments to fit my need Here
I was able to do it using your code, https://codepen.io/erickcouto/pen/VpNEjm. Mto thanks.
– user27585
face all right, I know you’ve helped me, I tried to get the result I’d like but there’s something wrong not ta 100% http://codepen.io/erickcouto/pen/Vpnejm what I want is when I select a date less than 30 days the button per month is deactivated and when it is larger q 30 it is activated again, but when it is deactivated the graphic that appears has to be the
por dia
.– user27585