J
J
Java Script2020-06-18 12:08:25
css
Java Script, 2020-06-18 12:08:25

How to open a table after loading?

In general, I made a request to the table and it looks like this:
https://codepen.io/JS_lover/pen/Yzwpgrb

Now I need to add a button by clicking on which the download will be and then the table will be filled.
That is, after the download there will be a request and the table will be filled
I already added a button and a download, it looks like this:
https://codepen.io/JS_lover/pen/xxZRBYy

Please help me display this in a table
I tried everything but for some reason it does not make a request after downloading

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arseny, 2020-06-18
@E_Melqonyan

Open the console (bottom left) and you will see that the request on pressing the button occurs and the data arrives. It remains to withdraw.
UPD: after data is received, rendering does not start. The script will never output new data even though it receives it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question