6
Some time ago I built a tool with HTML and Javascript to help debug a family of web applications.
Basically, the tool consists of a static HTML page and a collection of scripts that load a given system in an iframe and then make it possible to inspect several elements of that system, without the developer having to analyze the source code.
To do this, the tool needs to identify when the user accessed a certain screen to then inspect the elements.
However, the systems also used frames, sometimes in more than one level. My solution was to go through this "tree" of frames by adding listeners to identify when each frame was loaded.
My question is: is there an elegant solution using jQuery or javascript to identify the loading of a frame hierarchy?
Sane
frames
oriframes
?– mgibsonbr
@mgibsonbr The tool has an iframe, the systems usually have a Frameset.
– utluiz
To suggest something more elegant, it would be good to ask the question the method currently in use, in order to innovate or suggest something different!
– Zuul
@Zuul I am without my notebook. I will post snippets of the code tonight.
– utluiz
And the method in use? It is already possible to ask the same question?
– Zuul