A
Asterbing
Hi,
Talking about a js script which changes an iframe src through a "ref_to
iframe.setAttribute("src", document_path);", I would like to launch a
check() fct when this new document is loaded.
Of course, knowing, I don't want (and can't n some cases where document
is generated by a cgi script) to edit every possible document which is
potentially loadable in the iframe.
In fact, I've through about the idea to on fly add an "onload='check
()';" to every document, but don't know how to do that :-(
Maybe using attachEvent or something arounnd this : I don't know. Of
course, I wish a solution working in the majors browsers.
How to do ?
Thanks in advance
Talking about a js script which changes an iframe src through a "ref_to
iframe.setAttribute("src", document_path);", I would like to launch a
check() fct when this new document is loaded.
Of course, knowing, I don't want (and can't n some cases where document
is generated by a cgi script) to edit every possible document which is
potentially loadable in the iframe.
In fact, I've through about the idea to on fly add an "onload='check
()';" to every document, but don't know how to do that :-(
Maybe using attachEvent or something arounnd this : I don't know. Of
course, I wish a solution working in the majors browsers.
How to do ?
Thanks in advance