Adding jQuery code
Hi!
how can I execute a jquery code after times slot have loaded for the current day? http://consultant-demo.booking-wp-plugin.com/demo/
Thanks in advance,
Fer
0
Hi!
how can I execute a jquery code after times slot have loaded for the current day? http://consultant-demo.booking-wp-plugin.com/demo/
Thanks in advance,
Fer
Comments
Hi Fer,
You can execute the jquery code by adding it in a specific place in the bookly.js file (the stepTime() function).
Thanks Denis,
I managed to make it work by placing it within stepTime function, but now I need to execute it on day selection, is 'bookly.js' also responsible for that behaviour, where?
Hi Fer,
I didn't understand your inquiry, could you please specify - are you referring when the user chooses a day from the calendar or when he chooses the time slots that wants to book.
Hi Denis,
I meant when the user chooses (click) a day from the calendar.
Thanks,
Fer
Hi Fer, thanks for the clarification, you need function initSlots() in the same bookly.js file.
Great! Problem solved.
Thanks Denis
Please sign in to leave a comment.