Using the jqModal plugin [R14], how can I detect if a server error [such as a 404 or 500 response code] occurred while fetching the popup contents via AJAX? Currently, if an error occurs then the popup never loads, and there is no indication of what went wrong.
It looks like the plugin is using a hidden iframe to fetch the content... is there an easy way to detect that the iframe contents couldn't be loaded?