[Urgent] Help with resolving jQuery.fn.load() is deprecated
-
Hello, I’m getting the following errors:
The following are deprecations logged from the front-end of your site, or while live deprecation notices were disabled in the admin area.
Error: jQuery.fn.load() is deprecated
Plugin: Autocomplete Google AddressFile location: https://themetrohouse.com/wp-content/plugins/autocomplete-google-address/js/custom.js
Triggered on page: https://themetrohouse.com/maryland/?elementor-preview=1634&ver=1606673339
Here’s the code:
function autocomplet_set_google_autocomplete(){
jQuery(input_fields).each(function(){var autocomplete= new google.maps.places.Autocomplete(
/** @type {HTMLInputElement} */(this));
// When the user selects an address from the dropdown,
// populate the address fields in the form.});
}
jQuery(window).on(‘load’,function () {
autocomplet_set_google_autocomplete();
});The errors are affecting my sites functionality- especially my conditional forms. Please help.
Thanks,
KThe page I need help with: [log in to see the link]
- The topic ‘[Urgent] Help with resolving jQuery.fn.load() is deprecated’ is closed to new replies.