Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Html
javascript async fetch file html
MGOwen
Programming language:
Html
2021-05-12 10:04:13
0
Q:
javascript async fetch file html
user95387
Code:
Html
2021-05-30 21:07:10
async function () { element.innerHTML = await (await fetch('./filetofetch.html')).text(); }
1
Tags
file
javascript
html
script
New to Communities?
Join the community