2

When you load a iFrame from a external website, but it's unreachable.

Is it possible to remove the normal iFrame error that says that it cannot load the page and replace it with a custom text?

user3428833
  • 103
  • 1
  • 9

1 Answers1

0

I think you could use a XMLHTTPrequest to load the content of the iframe (or use JQuery to make it easier). There you can check for errors sent by the server.

Jason Aller
  • 3,475
  • 28
  • 40
  • 37
eventHandler
  • 971
  • 11
  • 18