tag:blogger.com,1999:blog-34454975.post7461690838632776876..comments2023-06-28T16:58:41.189+02:00Comments on Web Reflection: HTML5: How To Create Downloads On The FlyAndrea Giammarchihttp://www.blogger.com/profile/16277820774810688474noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-34454975.post-17207631423480143822014-09-25T19:25:33.310+02:002014-09-25T19:25:33.310+02:00Thanks for this... I did have to chaange:
result....Thanks for this... I did have to chaange:<br /><br /><b>result.push(rows[j].innerHTML);</b><br /><br />to:<br /><br /><b>result.push(rows[i-hlength].innerHTML);</b><br /><br />Otherwise, the resulting download had the first row of data repeated for the length of the table, since <i>j</i> maxes out at the number of columns then starts over. <br /><br />Anyone else notice this?Michaelhttps://www.blogger.com/profile/16021254328011058398noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-85696942693622174692014-04-18T16:41:09.574+02:002014-04-18T16:41:09.574+02:00Man thats so nice i was looking for this link for ...Man thats so nice i was looking for this link for soooo long and when i used your code it worked! Thanks!Anonymoushttps://www.blogger.com/profile/10386681061464749418noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-25110043966550864722012-03-07T17:35:32.162+01:002012-03-07T17:35:32.162+01:00Such a great article which The attribute may have ...Such a great article which The attribute may have a value; the value, if any, specifies the default filename that the author recommends for use in labeling the resource in a local file system. In which The New Download AttributeHopefully soon, most updated browser will implement the download attribute inHeatherhttp://www.sarahchristinephotography.comnoreply@blogger.comtag:blogger.com,1999:blog-34454975.post-87587258207195856242011-08-22T18:56:13.241+02:002011-08-22T18:56:13.241+02:00Nice, i've been wondering about this for a whi...Nice, i've been wondering about this for a while. Didn't realize it was this simple.Drewhttps://www.blogger.com/profile/11940610480037704134noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-32577396130500374272011-08-19T09:19:42.288+02:002011-08-19T09:19:42.288+02:00about support ... all browsers that support inline...about support ... all browsers that support inline data uri <b>work already</b> with right click and automatic download if mime type is not embeddable on the browser. The download attribute is not yet respected tho in these browsers.Andrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-74797341677708604672011-08-18T23:37:58.486+02:002011-08-18T23:37:58.486+02:00@Dan, a bit of sci-fi, that would be possible simp...@Dan, a bit of <i>sci-fi</i>, that would be possible simply creating a zip/tar on the fly via JavaScript and setting the inline data uri as result of this operation with mime type for zip or tar ... in few words, I would say yes, it's possible ;)Andrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-14333714520066523672011-08-18T21:46:40.790+02:002011-08-18T21:46:40.790+02:00Works for me in Chrome, which, as an extension dev...Works for me in Chrome, which, as an extension developer is all I care about. It would be doubly awesome if there was a way to combine/batch multiple download links into a single click as well. Thus far this solution eludes me. :(Dan Atkinsonhttps://www.blogger.com/profile/16254340639395309271noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-46487629832037523642011-08-18T18:20:35.280+02:002011-08-18T18:20:35.280+02:00right now ... no idea :Dright now ... no idea :DAndrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-42507269798164210622011-08-18T17:55:46.176+02:002011-08-18T17:55:46.176+02:00What is the browser support for the download attri...What is the browser support for the download attribute?Anonymousnoreply@blogger.com