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

Announcements

News and Announcements icon
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 Microsoft Employee

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:
  • oliver.rodrigues Profile Picture
    9,482 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
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 35

#2
M Bilal Khan Profile Picture

M Bilal Khan 33

#3
11manish Profile Picture

11manish 21 Super User 2026 Season 2

Last 30 days Overall leaderboard