In my application I have an iframe that is empty (and not visible)
initially, however when a user presses a button a form is
programmaticall y submitted and the target is set to the IFrame.
I want to detect when the frame has been loaded with the result of the
form submit.
Of course I have tried some event handlers like onload, onactivate,
onreadystatecha nge, but they do not work in this example. They only
seem to work, when the "SRC" attribute of the "IFrame" is set, e.g.
not when the IFrame is set as the target of the form.
Any ideas on how to do this?
Regards, Halldor
initially, however when a user presses a button a form is
programmaticall y submitted and the target is set to the IFrame.
I want to detect when the frame has been loaded with the result of the
form submit.
Of course I have tried some event handlers like onload, onactivate,
onreadystatecha nge, but they do not work in this example. They only
seem to work, when the "SRC" attribute of the "IFrame" is set, e.g.
not when the IFrame is set as the target of the form.
Any ideas on how to do this?
Regards, Halldor
Comment