web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / JQMIGRATE: jQuery.fn.l...
Power Pages
Unanswered

JQMIGRATE: jQuery.fn.load() is deprecated - Urgent request

(0) ShareShare
ReportReport
Posted on by

Hi

 

I have suddenly started seen the javascript error below on my portal site when loading an entity. The site has been running fine for several weeks with no issues and hasn't been updated for that time. The is causing my end users loads of problems. I would really appreciate any help.

 

JQMIGRATE: jQuery.fn.load() is deprecated
JQMIGRATE: 'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'

 

Thanks

Adnan

Categories:
I have the same question (0)
  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    Hi

     

    can you share the JS code that is causing this warning?

     


    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Community Power Platform Member Profile Picture
    on at

    Hi

     

    Please find javascript attached (sorry had to put it into a word doc). Thanks for looking into this

     

     

  • Ali .NET Profile Picture
    on at

    I am having same issue. Here is the code that I executed on the portal page.

     

     

    <script>
    function makeChart(rData) {
     console.log("Showing all accounts");
     console.log(rData);
    }
    
    $(document).ready(function() {
     $.get('/getAccounts', makeChart, 'json');
    });
    </script>

     

     

    And here is what I am having back in the console window. The JQMIGRATE warnings and the makeChart function doesn't run, see the first red box please.

    KAL_1-1599697137874.png

    The makeChart function is accessible. See the second red box in the above image please.

    And when I execute the jQuery get right from the console window, it returns data in the response text. No JQMIGRATE warnings in the console this time. But the makeChart function still doesn't run. See the third red box.

    Please help.

     

  • Christophe ROCHE Profile Picture
    9 on at

    Just had the same problem (probably the same tutorial on MS Learn 😅).

    After a lot of tests with the JS code and jQuery functions, I realized that my json was not correct: when playing with Power Apps, I added a Test Account for which there were no values in the resulting json (something like {x: , y: , ...} ).

    All works fine now that I deleted the record (event with the warning).

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 74 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 55

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard