can u help me
JQMIGRATE: Migrate is installed with logging active, version 1.4.1
jquery-migrate.js:45 JQMIGRATE: jQuery.attrFn is deprecated
migrateWarn @ jquery-migrate.js:45
jquery-migrate.js:47 console.trace
migrateWarn @ jquery-migrate.js:47
jquery-migrate.js:45 JQMIGRATE: jQuery.fn.load() is deprecated
migrateWarn @ jquery-migrate.js:45
jquery-migrate.js:47 console.trace
migrateWarn @ jquery-migrate.js:47
Hello @YousifAlJudi2020
Code is fine but the load method you use isn't deprecated, the load event is deprecated.
The jQuery which is being used has some deprecated functions, you can update the jQuery like this :
https://magento.stackexchange.com/questions/180372/magento-2-properly-update-core-jquery-lib
Hope it helps !
Hello @YousifAlJudi2020
You can update your jQuery for this or use following solution
Edit file
lib/web/jquery/jquery-migrate.js
Look for at line 19
// Set to true to prevent console output; migrateWarnings still maintained jQuery.migrateMute = false;
and change to false
// Set to true to prevent console output; migrateWarnings still maintained jQuery.migrateMute = true;
Thanks
Problem Solved ? Click on 'Kudos' & Accept solution.