2

The jquery .load event was deprecated as of version 1.8 (See: https://api.jquery.com/load-event/)

The jquery .load ajax modal has not been deprecated (See: https://api.jquery.com/load/)

When I try and use the latter command like so:

$('#divcontent').load('page.url #divcontainer', function (response, status, xhr) {
    alert('loaded content');
});

the JQMIGRATE incorrectly reports that jQuery.fn.load() is deprecated.

I don't believe that the .load ajax function is deprecated. What gives?

congusbongus
  • 13,359
  • 7
  • 71
  • 99
George Filippakos
  • 16,359
  • 15
  • 81
  • 92

0 Answers0