I've used the jQuery version in this article, but I'd rather export a javascript variable in the form of a table than an actual table in the DOM.
Does anyone know how to modify that code to do that? That small snippet of code goes well beyond my limits.
Many thanks in advance!