Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js read html file

element.setAttribute('href', `data:` + filetype + `;charset=utf-8,` + encodeURIComponent(textInput));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #read #html #file
ADD COMMENT
Topic
Name
8+8 =