I\'m using some embed codes that insert HTML to the page dynamically and since I have to modify that dynamically inserted HTML, I want a jquery function to wait until the pa
The load() method was deprecated in jQuery version 1.8 and removed in version 3.0. So you have to use -
load()
$(window).on('load', function() { // code here });