• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

  • 0
Sign in to follow this  

jQuery stop working after to cPanel

Question

ACTIONpack    491

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.

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
pqt    275

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

Share this post


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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.