Multiple files download on single link click
Sometimes happens that some people need to download multiple file from a single user interaction: the click on the link.
A long time ago Flickr have introduced base64 dataURI images in its pages. It brings a lot of benefits for users and web servers but at the time the most of the browsers was not supporting this schema.
For the ones that does not konw what base64 data URI is, just mind to something that is written using 6 bits (a nibble and half) instead of 8 bits and using only the ASCII printable characters to encode the contents.
An example of what I’m meaning is the text “
Hello World!” that in base64 encoding would be “
Sometimes happens to export data from table in other format like XML or CSV. In this easy tutorial, we can see how to export data from table into CSV on client side using data stored into an HTML table.