print content in a parallel html

0

Thanks in advance ... I hope you can help me the problem is this:

I have a main html file which is associated with a javascript and its corresponding styles, the problem lies in that in the javascript a series of processes is done and at the end I have a list of results in the form of a table (html5) which I want to print in a div that is in another html file different to the main one, the question how can I send those results to the secondary page

    
asked by Oliver Peres 06.12.2017 в 01:59
source

1 answer

0

I do not know if I understand the case well, but maybe I can be sending the data as a request from the main HTML to the other.

Let me explain: In HTML1, in the javascript code, at the end of the processes you could do a simple redirection to HTML2 and pass it the data as GET parameters (by URL); then, in HTML2, with Javascript you choose the GET parameters and fill the table. It is not the most elegant way to do it, nor the most optimal, but the simplest one. I hope I have understood what you want to try, regards.

    
answered by 06.12.2017 в 02:12