wcff datepicker value when validating
-
Hi,
I’am using 2 wcff datepickers in woo-commerce product page.
I want to count the days difference before sending product to the basket.
I am tryin to check the values in wccpf-front-end.js validation part
with the following code var e_date = $(‘input[name=end_date]’).datepicker().val();
For some reason the var e_date allways contains forelast value of the datepicker and not the last selected date before the validation was fired.
Any help to solve this will be appreciated.
Thanks in advance & kind regards
from Brooks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘wcff datepicker value when validating’ is closed to new replies.