Use of the iframe onreadystatechange event under firefox

  • 2020-03-30 02:37:39
  • OfStack

Firefox does not support the onreadystatechange event for iframe, so let me debug this afternoon...

Direct code
< img SRC = "border = 0 / / files.jb51.net/file_images/article/201404/201404161743121.gif? 2014316174330 ">  
What I'm going to do here is make an iframe, and I'm going to trigger this event when I want to load something inside, and the code can clearly see that I'm going to use the onload method instead.

Related articles: