How to detect an error 404 in an iframe?
My Web page uses iframes to collect content from other pages. All pages are in the same domain. From the main page, is there a way to confirm that all iframes have loaded, and that there is no 404 error? Tony Chiboucas The status only lives in the response header. The 404 Page is handling an HTTP Status Code , which is only included in the server's response sent to the browser, but not in the actual window and document objects of the DOM that javascript may access. This means that while you certainly can collect the status-code and take appropriate actions, you may only do so when your