• 0

jQuery stop working after to cPanel


Go to solution Solved by pqt,

Question

ACTIONpack

www.romabio.com

 

I made this website over a year ago. The company switch over to a cPanel and everything works okay with the theme but the jQuery does not work anymore. My test site on my computer works fine "modified version of the site" but the theme that is using now jQuery is not work. All my links works but can't found out why it's not work.

Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
pqt

Using the Inspect Element tool on Chrome I found this.

 

sL06opF.png

 

... a lot of individual files don't end their code with a semicolon. Most jQuery scripts end with (jQuery) and you need to have (jQuery);.

As separate files the script will load just fine but as one individual file you need the semicolons.

 

Quoted from StackOverflow

Link to post
Share on other sites
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.