Tuesday, January 7, 2014

Download an HTML Table With JavaScript

I needed to download a list of users for the same website I talked about in my last blog post.  For whatever reason Joomla doesn't have an export function.  We are using a very old version, I don't know much about Joomla, and I didn't have access to the database.  So, I did the only thing I knew how, loop through the table grabbing the values with JavaScript.

Here is how I did it.  I post it here in hopes that is helpful to someone else, or myself when I forget how I did it in a few days (hello future self).