iFrame onload JavaScript event
iFrame onload JavaScript event : SOLUTION 1 : Use the iFrame’s .onload function of JavaScript: SOLUTION 2 : Your code is correct. Just test to ensure it is being called like: SOLUTION 3 : SOLUTION 4 : Update As of jQuery 3.0, the new syntax is just .on: see this answer here and the code: