Skip to navigation
Extract the text from a html tag with javascript
16.06.21
let dom = new DOMParser().parseFromString("
foo
", 'text/html'); let nr = dom.body.textContent.trim(); extract the text from a html tag with javascript
https://code-boxx.com/strip-remove-html-tags-javascript/
Reply
Anonymous
Information Epoch 1768172842
Files are bags of bytes.
Home
Notebook
Contact us