Answers for "call javascript function after div load"

0

call javascript function after div load

document.querySelector('img.my-image').addEventListener('load', function(){
  // The image is ready!
});
Posted by: Guest on July-31-2020

Code answers related to "call javascript function after div load"

Code answers related to "Javascript"

Browse Popular Code Answers by Language