Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
256 views
in Technique[技术] by (71.8m points)

javascript - Upgrading jQuery Library form 1.7.1 to 1.10.1 not working

I have developed a web application by using jQuery 1.7.1. Now I am trying to switch to jQuery 1.10.2 but it isn't working.

Upon using the latest version, none of my existing jQuery code works.

I am using the Google-hosted version of jQuery:

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>

Is it OK to stay with 1.7.1? How can I upgrade to 1.10.2?

I am getting the following messages in my browser's console:

Use of Mutation Events is deprecated. Use MutationObserver instead.

The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

jquery-migrate: Migrate older jQuery code to jQuery 1.9+

Migrate is a best solution I found

Thanks – Arun P Johny for your helping comment


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...