When dynamically inserting an iframe into a webpage, the JQuery load event allows me to trigger a callback function when this iframe is loaded (see also this stackoverflow article).
The problem I am struggling with, is that I want to do something when the src request is sent to the server but before the response is received from that server. In other words, I am looking for an event like "request fired". The JQuery load event doesn't seem to help here.
I have been playing with several values for the JQuery setTimeout method, but that doesn't look like a very robust solution to me.