08.04.2024, 13:36
It should be $('iframe').on('load', ... instead of $('iframe').load(...
But keep in mind that this won't work for iframes that are on a different IP/domain due to browser's security policies.
But keep in mind that this won't work for iframes that are on a different IP/domain due to browser's security policies.