Multiple Instances of Jquery Issue

Home Forums Calendar Products Events Calendar PRO Multiple Instances of Jquery Issue

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1009885
    Elizabeth City EMC
    Participant

    So I noticed today that the previous and next links on the Photo, List, and Day views were not working. (Ironically, these navigation links work for Month and Week views.) After much searching I have concluded that I am having the problem that colewebdev from the Previous/Next Events Not Working AJAX List View thread was having: multiple instances of jquery were interfering with the ajax function of those navigation links. On every page of my website I have <script src=”http://code.jquery.com/jquery-latest.min.js”></script&gt; loading for several functions of my site. If I remove that line of code I can get the ajax links to work for my calendar, but it disables everything else I was using jquery for on my site. What is the solution here? Sorry if this was not very clear. I can follow up to clarify any questions you might have. Thanks.

    #1009888
    Elizabeth City EMC
    Participant

    Sorry for bombing you guys with posts, but I figured out my problem. I simply moved <script src=”http://code.jquery.com/jquery-latest.min.js”></script> from the footer of my site to the header. That actually fixed multiple issues I was having with Events Calendar. I guess it was a matter of the order in which everything was being loaded. Perhaps somewhere you guys address this for your clients, but I missed it somehow. Anyway, I hope this helps someone else in the future. Thanks!

    #1010152
    Brian
    Member

    Hi,

    Glad you figured it out. It is correct jQuery should always be one of the first things you load and almost all the time it should load in the head of your site.

    Thanks for sharing.

    I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Multiple Instances of Jquery Issue’ is closed to new replies.