• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Getting warnings about old version of jquery

New Here ,
Dec 07, 2023 Dec 07, 2023

Copy link to clipboard

Copied

When running on a Chrome browser any of my Animate programs that access a mysql database using ajax and PHP, I get the following warning:

jquery-3.4.1.min.js?1701946141338:2 [Deprecation] Listener added for a synchronous 'DOMNodeRemoved' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
add @ jquery-3.4.1.min.js?1701946141338:2

The latest version of jquery appears to be 3.7.1 but how can I update my version which is presumably referenced in Animate?

Mant thanks if you have any suggestions

Melvyn

Views

177

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 07, 2023 Dec 07, 2023

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 23, 2024 Apr 23, 2024

Copy link to clipboard

Copied

I found and changed this as suggested, it's on line 135 in anwidget.js:

 

$(parent).bind("MutationObserver", function(e) { //$(parent).bind("DOMNodeRemoved", function(e) {

That got rid of the error message and did not break anything so far 😉

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 24, 2024 Apr 24, 2024

Copy link to clipboard

Copied

LATEST

So you fixed your old problem. lol

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines