Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I require to download a url into an iframe and handle the cases where the server returns an error response status.

Please could you inform me how to catch/handle the error status returned in the response from the server. What event handlers should be used on the iframe.

" ...eventhandler...>

on server: e.g. response.setStatus(505);

Thank you, S

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.