0

Why jQuery Scripts Working On My Localserver When I Creating Script It's Working Fine , But When I Uploaded This Script On Hosting Webserver Then It's Not Working Properly! Please view this problem and solve please. my site url: https://offersview.com

Regards,

Sajjad Hossain

1
  • 1
    Check the console - you have several errors in the page. Commented Jul 5, 2015 at 20:15

2 Answers 2

1

because the protocol of your website is https, but the jQuery Scripts is using http protocol. Therefore, jQuery can't be loaded. Change the link like this :

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js" type="text/javascript"></script>

I got the answer from here

Sign up to request clarification or add additional context in comments.

1 Comment

You're welcome. It will be great if you accept my answer so the question will be marked as finished
1

If using Chrome, go to the menu -> More Tools -> Dev Tools and look at the script errors. You're trying to load jquery at an http URL from an HTTPS location first of all. Even if changed to regular http in the address bar, you're getting other errors like:

Uncaught TypeError: $(...).textition is not a function

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.