JQuery 1.8 to 3.X intermediate version of load event removed how to simulate?

Article From:https://segmentfault.com/q/1010000010939294

Question:

After 1.8 versions of the known version, the load event was deleted, and load was planned as part of the Ajax. Until the 3.x version was able to bind the event with on, I wondered how my jQuery was 2.1.4, and how to use load events?

Answer 0:

You can use $(“iframe”).On (“load”, function () {})Note: only URL elements can use load events and bind load events.