Answers for "how to remove a html tag using javascript"

1

remove the html tags in javascript

let strippedString = originalString.replace(/(<([^>]+)>)/gi, "");
Posted by: Guest on October-08-2020
4

remove html element javascript

var myobj = document.getElementById("demo");
myobj.remove();
Posted by: Guest on June-13-2021

Code answers related to "how to remove a html tag using javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language