I have a webpage that takes time to load (a lot of data to get). In this webpage, I have a table with all my data.
I would like to be able to click on a button, and javascript will get the content of my table ($("#mytableId").html();
with jQuery) and let the user download it.
That would avoid me to reload the page (and all the data processing) but I have no idea how I could do this or even if this is possible. (And I don't think that I use the correct search terms in Google...)
Is there a way to do this ?