About This Ticket

js file conflict

by holidaynerja / February 6, 2016, 3:30 pm

Hi, I have 2 search form on my webpage but they only work if I disable js/vendor/vendor.js and js/main.js which of course means I lose other functionality in the process.

Here you can see both forms work fine withe js files disabled

http://www.holidaynerja.co.uk/mobile/home1.html

and here they do not work with the js files enabled

http://www.holidaynerja.co.uk/mobile/home.html

I am guessing that there is some conflict with the js files, is there away of excluding these 2 elements so as they are not affected by these 2 files but read from the others we have set up?

Many thanks

 

 

 

Staff

Hello,

You include lower version jQuery. In our theme already have jQuery v2.1.4 

You need to remove this line from your HTML file 
 

<script type="text/javascript" src="http://www.holidaynerja.co.uk/jquery-1.4.2.min.js"></script>

 

and move our verndor.js file in that place. Hope this changes will fixed your issue.

 

If you like our theme and support, please rate us in Themeforest in the download section.

Thanks and regards,
​0effortteam

Hi, thank for checking that out, I have applied the changes but still the problem exists. Any other ideas?

Here is the modified page

http://www.holidaynerja.co.uk/mobile/home.html

Many thanks

Staff

Hello

Please give us your purchase code for continues support.

Thanks 

Staff

Hello 

Older version jQuery still exit in this page. Please remove this file from top of head

<script type="text/javascript" src="http://www.holidaynerja.co.uk/jquery-1.4.2.min.js"></script>

And move vendor.js in that position

Thanks and regards,
​0effortteam