Functionality ruined by Contact form 7 datepicker script
-
I have a scripting issue with the way Elementor Header Footer Builder works. As it replaces the header and footer files, an important script is removed and Contact Form 7 Datepicker stops functioning on my front page form.
If I try to place that script in my child theme header or footer, Elementor Header Footer Builder, along with Revolution Slider and a couple other plugins stops functioning correctly or not at all.
Also tried removing both javascript references (datepicker doesn’t work) or just one (the other plugins doesn’t work).
How can I resolve the issue?
This is my problematic script:
<script type="text/javascript" src="https://code.jquery.com/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="https://code.jquery.com/ui/1.10.4/jquery-ui.js"></script> <script language="javascript"> $(document).ready(function () { $("#arrival").datepicker({ dateFormat: 'dd/mm-yy', minDate: 0, }); $("#departure").datepicker({ dateFormat: 'dd/mm-yy', minDate: 0, }); }); </script>
- The topic ‘Functionality ruined by Contact form 7 datepicker script’ is closed to new replies.