I'm building a html webpage and wondered if it's possible to have a link that when clicked will download the html contents of a specific div (on the same page) as a .html or .zip file.
I've searched for javascript or jquery examples but can't seem to find one that works cross browser. I tried the HTML5 download attribute but that doesn't work for older browsers/IE.
Thanks