• 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.