Have a nice Christmas friends!
I am trying to understand how you can generate a frame in which the html document will be again by clicking a button in an html document, but there should be no explicit reference to the source name for the frame, since the parent html file will be renamed by -differently.
In addition, there is a data table in the parent html document, in the frame it should be filtered and changed as a result. For example, something like this: all negative values in the cells of a frame table should become positive or rows where the values of the first column have the name "Basil" to hide in the frame table ... And other dregs of this kind led a couple of typical operations can happen to frame.
Had tried:
- Find good sources on the Internet, how to manage frames and its elements (tables, buttons, containers and other tags) from the parent document using JS (taking into account that frame elements will have the same names, id and class as their parent).
- How to avoid explicitly specifying names for frames, and simply indicate that you need to load the parent page (with buttons and a table).
- How to avoid looping the code if the parent document "gives birth" to the frame, which in turn will "give birth" to the frame, etc. (stop recursion of a kind of "birth" of frames). Help with these problems, friends.