I'm using jQuery to attach an event handler .load()
to an iFrame to take action once an iFrame is loaded.
I have a loading dial that appears on page load then on .load()
it hides the loading dial.
Unfortunately, this doesn't work in FireFox for invalid URLs (like http://example/
). For some reason, all browsers still fire the .load()
except for FireFox.
This is causing issues by keeping the loading dial on screen.
Is there workaround to make the .load()
event fire in FireFox on invalid URLs?