Editor Arrow Download Open
<!DOCTYPE html> <html> <head> <title>jQuery load() method</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script> <script> $(document).ready(function(){ $("img").load(function(){ $("div").text("This text comes, when load event triggered on selected element."); }); }); </script> </head> <body> <img src="../../images/img_nat.png" width="207" height="137" /> <div>Image is loading...</div> </body> </html>
  Preview Arrow